aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2018-06-18 23:08:35 +0700
committerSergey M․ <dstftw@gmail.com>2018-06-18 23:08:35 +0700
commit721a877d2fb82de18e4aeec27d70f84f9b41f766 (patch)
tree53eb13bd08f5d14ce06ecd38ff64778bc674804c
parent9283d4ea03f907f2b9e7954b0897075a165b4d4c (diff)
[vgtv] Add support for www.aftonbladet.se/tv/ URLs
-rw-r--r--youtube_dl/extractor/vgtv.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/youtube_dl/extractor/vgtv.py b/youtube_dl/extractor/vgtv.py
index c21a09c01..d430e2944 100644
--- 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,
},