mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-11-04 08:35:12 +00:00 
			
		
		
		
	[vgtv] Add support for www.aftonbladet.se/tv/ URLs
This commit is contained in:
		@@ -24,6 +24,7 @@ class VGTVIE(XstreamIE):
 | 
				
			|||||||
        'aftenposten.no/webtv': 'aptv',
 | 
					        'aftenposten.no/webtv': 'aptv',
 | 
				
			||||||
        'ap.vgtv.no/webtv': 'aptv',
 | 
					        'ap.vgtv.no/webtv': 'aptv',
 | 
				
			||||||
        'tv.aftonbladet.se/abtv': 'abtv',
 | 
					        'tv.aftonbladet.se/abtv': 'abtv',
 | 
				
			||||||
 | 
					        'www.aftonbladet.se/tv': 'abtv',
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    _APP_NAME_TO_VENDOR = {
 | 
					    _APP_NAME_TO_VENDOR = {
 | 
				
			||||||
@@ -44,7 +45,7 @@ class VGTVIE(XstreamIE):
 | 
				
			|||||||
                    (?:
 | 
					                    (?:
 | 
				
			||||||
                        (?:\#!/)?(?:video|live)/|
 | 
					                        (?:\#!/)?(?:video|live)/|
 | 
				
			||||||
                        embed?.*id=|
 | 
					                        embed?.*id=|
 | 
				
			||||||
                        articles/
 | 
					                        a(?:rticles)?/
 | 
				
			||||||
                    )|
 | 
					                    )|
 | 
				
			||||||
                    (?P<appname>
 | 
					                    (?P<appname>
 | 
				
			||||||
                        %s
 | 
					                        %s
 | 
				
			||||||
@@ -143,6 +144,10 @@ class VGTVIE(XstreamIE):
 | 
				
			|||||||
            'url': 'http://tv.aftonbladet.se/abtv/articles/36015',
 | 
					            'url': 'http://tv.aftonbladet.se/abtv/articles/36015',
 | 
				
			||||||
            'only_matching': True,
 | 
					            'only_matching': True,
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            'url': 'https://www.aftonbladet.se/tv/a/36015',
 | 
				
			||||||
 | 
					            'only_matching': True,
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            'url': 'abtv:140026',
 | 
					            'url': 'abtv:140026',
 | 
				
			||||||
            'only_matching': True,
 | 
					            'only_matching': True,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user