mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-28 08:00:48 +00:00
[nowvideo] Support more domains
This commit is contained in:
parent
931055e6cb
commit
7cd3bc5f99
2 changed files with 2 additions and 2 deletions
|
@ -519,7 +519,7 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
# Look for embedded NowVideo player
|
# Look for embedded NowVideo player
|
||||||
mobj = re.search(
|
mobj = re.search(
|
||||||
r'<iframe[^>]+?src=(["\'])(?P<url>http://(?:(?:embed|www)\.)?nowvideo\.(?:ch|sx|eu)/embed\.php.+?)\1', webpage)
|
r'<iframe[^>]+?src=(["\'])(?P<url>http://(?:(?:embed|www)\.)?nowvideo\.(?:ch|sx|eu|at|ag|co)/embed\.php.+?)\1', webpage)
|
||||||
if mobj is not None:
|
if mobj is not None:
|
||||||
return self.url_result(mobj.group('url'), 'NowVideo')
|
return self.url_result(mobj.group('url'), 'NowVideo')
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ class NowVideoIE(NovaMovIE):
|
||||||
IE_NAME = 'nowvideo'
|
IE_NAME = 'nowvideo'
|
||||||
IE_DESC = 'NowVideo'
|
IE_DESC = 'NowVideo'
|
||||||
|
|
||||||
_VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'nowvideo\.(?:ch|sx|eu)'}
|
_VALID_URL = NovaMovIE._VALID_URL_TEMPLATE % {'host': 'nowvideo\.(?:ch|sx|eu|at|ag|co)'}
|
||||||
|
|
||||||
_HOST = 'www.nowvideo.ch'
|
_HOST = 'www.nowvideo.ch'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue