diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2015-01-07 07:37:21 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2015-01-07 07:37:21 +0100 |
commit | ccc5842bc9d96abaf6e54b91101f7e281b05663c (patch) | |
tree | cb20b9029db7c3133ea649b440af4aaac95a1c2b | |
parent | fd86c2026de4ca071d1f6bd432da68c93fcf184e (diff) |
[gameone] Modernize
-rw-r--r-- | youtube_dl/extractor/gameone.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/youtube_dl/extractor/gameone.py b/youtube_dl/extractor/gameone.py index 75f180928..a07d69841 100644 --- a/youtube_dl/extractor/gameone.py +++ b/youtube_dl/extractor/gameone.py @@ -57,8 +57,7 @@ class GameOneIE(InfoExtractor): ] def _real_extract(self, url): - mobj = re.match(self._VALID_URL, url) - video_id = mobj.group('id') + video_id = self._match_id(url) webpage = self._download_webpage(url, video_id) og_video = self._og_search_video_url(webpage, secure=False) |