summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMartin Ström <[email protected]>2021-03-22 14:56:58 +0100
committerGitHub <[email protected]>2021-03-22 20:56:58 +0700
commit00b4d72d1e5c6e8151f33c822f1f9165ea99dfc8 (patch)
tree05ad17b0774568f482c592ed9dea76bd5f85a4de
parent21ccd0d7f46002acc61eb21bd0d4e492064c7fe1 (diff)
downloadyoutube-dl-00b4d72d1e5c6e8151f33c822f1f9165ea99dfc8.tar.gz
youtube-dl-00b4d72d1e5c6e8151f33c822f1f9165ea99dfc8.zip
[vgtv] Add support for new tv.aftonbladet.se URL schema (#28514)
Co-authored-by: Sergey M <[email protected]>
-rw-r--r--youtube_dl/extractor/vgtv.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/youtube_dl/extractor/vgtv.py b/youtube_dl/extractor/vgtv.py
index fe7a26b62..22e99e8f0 100644
--- a/youtube_dl/extractor/vgtv.py
+++ b/youtube_dl/extractor/vgtv.py
@@ -23,6 +23,8 @@ class VGTVIE(XstreamIE):
'fvn.no/fvntv': 'fvntv',
'aftenposten.no/webtv': 'aptv',
'ap.vgtv.no/webtv': 'aptv',
+ 'tv.aftonbladet.se': 'abtv',
+ # obsolete URL schemas, kept in order to save one HTTP redirect
'tv.aftonbladet.se/abtv': 'abtv',
'www.aftonbladet.se/tv': 'abtv',
}
@@ -141,6 +143,10 @@ class VGTVIE(XstreamIE):
'only_matching': True,
},
{
+ 'url': 'https://tv.aftonbladet.se/video/36015/vulkanutbrott-i-rymden-nu-slapper-nasa-bilderna',
+ 'only_matching': True,
+ },
+ {
'url': 'http://tv.aftonbladet.se/abtv/articles/36015',
'only_matching': True,
},