logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: d1e41164272a2993816548beebd0d5ef4effafe8
parent 9baf69af450a90ead36af6d205cd0afc87b79253
Author: nyuszika7h <nyuszika7h@gmail.com>
Date:   Mon,  1 Jul 2019 19:13:23 +0200

[vevo] Add support for embed.vevo.com URLs (#21565)


Diffstat:

Myoutube_dl/extractor/vevo.py4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/youtube_dl/extractor/vevo.py b/youtube_dl/extractor/vevo.py @@ -34,6 +34,7 @@ class VevoIE(VevoBaseIE): (?:https?://(?:www\.)?vevo\.com/watch/(?!playlist|genre)(?:[^/]+/(?:[^/]+/)?)?| https?://cache\.vevo\.com/m/html/embed\.html\?video=| https?://videoplayer\.vevo\.com/embed/embedded\?videoId=| + https?://embed\.vevo\.com/.*?[?&]isrc=| vevo:) (?P<id>[^&?#]+)''' @@ -144,6 +145,9 @@ class VevoIE(VevoBaseIE): # Geo-restricted to Netherlands/Germany 'url': 'http://www.vevo.com/watch/boostee/pop-corn-clip-officiel/FR1A91600909', 'only_matching': True, + }, { + 'url': 'https://embed.vevo.com/?isrc=USH5V1923499&partnerId=4d61b777-8023-4191-9ede-497ed6c24647&partnerAdCode=', + 'only_matching': True, }] _VERSIONS = { 0: 'youtube', # only in AuthenticateVideo videoVersions