Skip to content

Commit

Permalink
[vgtv] Add support for new tv.aftonbladet.se URL schema (#28514)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergey M <[email protected]>
  • Loading branch information
haraldmartin and dstftw authored Mar 22, 2021
1 parent 21ccd0d commit 00b4d72
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions youtube_dl/extractor/vgtv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
}
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 00b4d72

Please sign in to comment.