projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[noco] Modernize
[youtube-dl]
/
youtube_dl
/
extractor
/
noco.py
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):
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
# Timestamp adjustment offset between server time and local time
# must be calculated in order to use timestamps closest to server's