mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-09 12:42:28 +01:00
[novamov] Modernize
This commit is contained in:
parent
9eab37dca0
commit
699ed30cee
@ -42,8 +42,7 @@ class NovaMovIE(InfoExtractor):
|
|||||||
}
|
}
|
||||||
|
|
||||||
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')
|
|
||||||
|
|
||||||
url = 'http://%s/video/%s' % (self._HOST, video_id)
|
url = 'http://%s/video/%s' % (self._HOST, video_id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user