mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[vrt] Extend _VALUD_URL
This commit is contained in:
		| @@ -8,7 +8,7 @@ from ..utils import float_or_none | |||||||
|  |  | ||||||
|  |  | ||||||
| class VRTIE(InfoExtractor): | class VRTIE(InfoExtractor): | ||||||
|     _VALID_URL = r'https?://(?:deredactie|sporza|cobra)\.be/cm/(?:[^/]+/)+(?P<id>[^/]+)/*' |     _VALID_URL = r'https?://(?:deredactie|sporza|cobra(?:\.canvas)?)\.be/cm/(?:[^/]+/)+(?P<id>[^/]+)/*' | ||||||
|     _TESTS = [ |     _TESTS = [ | ||||||
|         # deredactie.be |         # deredactie.be | ||||||
|         { |         { | ||||||
| @@ -52,6 +52,10 @@ class VRTIE(InfoExtractor): | |||||||
|                 'duration': 661, |                 'duration': 661, | ||||||
|             } |             } | ||||||
|         }, |         }, | ||||||
|  |         { | ||||||
|  |             'url': 'http://cobra.canvas.be/cm/cobra/videozone/rubriek/film-videozone/1.2377055', | ||||||
|  |             'only_matching': True, | ||||||
|  |         } | ||||||
|     ] |     ] | ||||||
|  |  | ||||||
|     def _real_extract(self, url): |     def _real_extract(self, url): | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․