mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[teamcoco] improve _VALID_URL regex(#16484)
This commit is contained in:
		| @@ -16,7 +16,7 @@ from ..utils import ( | |||||||
|  |  | ||||||
|  |  | ||||||
| class TeamcocoIE(InfoExtractor): | class TeamcocoIE(InfoExtractor): | ||||||
|     _VALID_URL = r'https?://teamcoco\.com/video/(?P<id>[^/?#]+)' |     _VALID_URL = r'https?://teamcoco\.com/video/(?P<id>([^/]+/)*[^/?#]+)' | ||||||
|     _TESTS = [ |     _TESTS = [ | ||||||
|         { |         { | ||||||
|             'url': 'http://teamcoco.com/video/mary-kay-remote', |             'url': 'http://teamcoco.com/video/mary-kay-remote', | ||||||
| @@ -67,6 +67,9 @@ class TeamcocoIE(InfoExtractor): | |||||||
|                 'skip_download': True,  # m3u8 downloads |                 'skip_download': True,  # m3u8 downloads | ||||||
|             }, |             }, | ||||||
|             'skip': 'This video is no longer available.', |             'skip': 'This video is no longer available.', | ||||||
|  |         }, { | ||||||
|  |             'url': 'http://teamcoco.com/video/the-conan-audiencey-awards-for-04/25/18', | ||||||
|  |             'only_matching': True, | ||||||
|         } |         } | ||||||
|     ] |     ] | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Remita Amine
					Remita Amine