mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-20 20:14:24 +00:00
[noco] Modernize
This commit is contained in:
parent
2469a6aecb
commit
7824e1f6a6
@ -110,8 +110,7 @@ class NocoIE(InfoExtractor):
|
|||||||
expected=True)
|
expected=True)
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
mobj = re.match(self._VALID_URL, url)
|
video_id = self._match_id(url)
|
||||||
video_id = mobj.group('id')
|
|
||||||
|
|
||||||
# Timestamp adjustment offset between server time and local time
|
# Timestamp adjustment offset between server time and local time
|
||||||
# must be calculated in order to use timestamps closest to server's
|
# must be calculated in order to use timestamps closest to server's
|
||||||
|
Loading…
Reference in New Issue
Block a user