aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2015-01-07 07:37:21 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2015-01-07 07:37:21 +0100
commitccc5842bc9d96abaf6e54b91101f7e281b05663c (patch)
treecb20b9029db7c3133ea649b440af4aaac95a1c2b
parentfd86c2026de4ca071d1f6bd432da68c93fcf184e (diff)
[gameone] Modernize
-rw-r--r--youtube_dl/extractor/gameone.py3
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)