1
0
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:
Sergey M․ 2015-11-11 22:34:49 +06:00
parent 9eab37dca0
commit 699ed30cee

View File

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