commit 721a877d2fb82de18e4aeec27d70f84f9b41f766
parent 9283d4ea03f907f2b9e7954b0897075a165b4d4c
Author: Sergey M․ <dstftw@gmail.com>
Date:   Mon, 18 Jun 2018 23:08:35 +0700

[vgtv] Add support for www.aftonbladet.se/tv/ URLs

Diffstat:
Myoutube_dl/extractor/vgtv.py | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/vgtv.py b/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 @@ -144,6 +145,10 @@ class VGTVIE(XstreamIE): 'only_matching': True, }, { + 'url': 'https://www.aftonbladet.se/tv/a/36015', + 'only_matching': True, + }, + { 'url': 'abtv:140026', 'only_matching': True, },