[vgtv] Add support for new tv.aftonbladet.se URL schema (#28514)
authorMartin Ström <name@my-domain.se>
Mon, 22 Mar 2021 13:56:58 +0000 (14:56 +0100)
committerGitHub <noreply@github.com>
Mon, 22 Mar 2021 13:56:58 +0000 (20:56 +0700)
Co-authored-by: Sergey M <dstftw@gmail.com>
youtube_dl/extractor/vgtv.py

index fe7a26b620deeff53a5443beea96e109f7685dc8..22e99e8f06a23cfa7a0c7022bc9462b3a6dbfe54 100644 (file)
@@ -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',
     }
@@ -140,6 +142,10 @@ class VGTVIE(XstreamIE):
             'url': 'http://www.vgtv.no/#!/video/127205/inside-the-mind-of-favela-funk',
             '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,