1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-05-17 10:39:33 +00:00

[noco] Modernize

This commit is contained in:
Sergey M․ 2015-12-17 22:16:58 +06:00
parent 2469a6aecb
commit 7824e1f6a6

View file

@ -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