Browse Source
[vgtv] Add support for www.aftonbladet.se/tv/ URLs
master
Sergey M․
6 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
6 additions and
1 deletions
-
youtube_dl/extractor/vgtv.py
|
|
@ -24,6 +24,7 @@ class VGTVIE(XstreamIE): |
|
|
|
'aftenposten.no/webtv': 'aptv', |
|
|
|
'ap.vgtv.no/webtv': 'aptv', |
|
|
|
'tv.aftonbladet.se/abtv': 'abtv', |
|
|
|
'www.aftonbladet.se/tv': 'abtv', |
|
|
|
} |
|
|
|
|
|
|
|
_APP_NAME_TO_VENDOR = { |
|
|
@ -44,7 +45,7 @@ class VGTVIE(XstreamIE): |
|
|
|
(?: |
|
|
|
(?:\#!/)?(?:video|live)/| |
|
|
|
embed?.*id=| |
|
|
|
articles/ |
|
|
|
a(?:rticles)?/ |
|
|
|
)| |
|
|
|
(?P<appname> |
|
|
|
%s |
|
|
@ -143,6 +144,10 @@ class VGTVIE(XstreamIE): |
|
|
|
'url': 'http://tv.aftonbladet.se/abtv/articles/36015', |
|
|
|
'only_matching': True, |
|
|
|
}, |
|
|
|
{ |
|
|
|
'url': 'https://www.aftonbladet.se/tv/a/36015', |
|
|
|
'only_matching': True, |
|
|
|
}, |
|
|
|
{ |
|
|
|
'url': 'abtv:140026', |
|
|
|
'only_matching': True, |
|
|
|