projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd86c20
)
[gameone] Modernize
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 7 Jan 2015 06:37:21 +0000
(07:37 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 7 Jan 2015 06:37:21 +0000
(07:37 +0100)
youtube_dl/extractor/gameone.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/gameone.py
b/youtube_dl/extractor/gameone.py
index 75f180928e2c29f59d2d77c1d80e267f6bc8d0a0..a07d69841f9278b932754b603249dc9f8eea53a0 100644
(file)
--- 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)