From: Philipp Hagemeister Date: Wed, 7 Jan 2015 06:37:21 +0000 (+0100) Subject: [gameone] Modernize X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=ccc5842bc9d96abaf6e54b91101f7e281b05663c;p=youtube-dl [gameone] Modernize --- 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)