projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2469a6a
)
[noco] Modernize
author
Sergey M․
<dstftw@gmail.com>
Thu, 17 Dec 2015 16:16:58 +0000
(22:16 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 17 Dec 2015 16:16:58 +0000
(22:16 +0600)
youtube_dl/extractor/noco.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/noco.py
b/youtube_dl/extractor/noco.py
index 63b97f170dcb1c053426ef5779e8bde5913eec9d..daba2e12fb0ecfb8407b09dab960dd28034ce776 100644
(file)
--- a/
youtube_dl/extractor/noco.py
+++ b/
youtube_dl/extractor/noco.py
@@
-110,8
+110,7
@@
class NocoIE(InfoExtractor):
expected=True)
def _real_extract(self, url):
- mobj = re.match(self._VALID_URL, url)
- video_id = mobj.group('id')
+ video_id = self._match_id(url)
# Timestamp adjustment offset between server time and local time
# must be calculated in order to use timestamps closest to server's