mirror of
				https://github.com/ytdl-org/youtube-dl
				synced 2025-11-04 11:43:47 +00:00 
			
		
		
		
	[vgtv] Relax _VALID_URL (closes #14223)
This commit is contained in:
		
							parent
							
								
									159d304a9f
								
							
						
					
					
						commit
						cbf85239bb
					
				@ -42,7 +42,7 @@ class VGTVIE(XstreamIE):
 | 
				
			|||||||
                    )
 | 
					                    )
 | 
				
			||||||
                    /?
 | 
					                    /?
 | 
				
			||||||
                    (?:
 | 
					                    (?:
 | 
				
			||||||
                        \#!/(?:video|live)/|
 | 
					                        (?:\#!/)?(?:video|live)/|
 | 
				
			||||||
                        embed?.*id=|
 | 
					                        embed?.*id=|
 | 
				
			||||||
                        articles/
 | 
					                        articles/
 | 
				
			||||||
                    )|
 | 
					                    )|
 | 
				
			||||||
@ -146,7 +146,11 @@ class VGTVIE(XstreamIE):
 | 
				
			|||||||
        {
 | 
					        {
 | 
				
			||||||
            'url': 'abtv:140026',
 | 
					            'url': 'abtv:140026',
 | 
				
			||||||
            'only_matching': True,
 | 
					            'only_matching': True,
 | 
				
			||||||
        }
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            'url': 'http://www.vgtv.no/video/84196/hevnen-er-soet-episode-10-abu',
 | 
				
			||||||
 | 
					            'only_matching': True,
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
    ]
 | 
					    ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def _real_extract(self, url):
 | 
					    def _real_extract(self, url):
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user