mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[twitch:vod] Expand _VALID_URL (closes #11846)
This commit is contained in:
		| @@ -209,7 +209,7 @@ class TwitchVodIE(TwitchItemBaseIE): | ||||
|     _VALID_URL = r'''(?x) | ||||
|                     https?:// | ||||
|                         (?: | ||||
|                             (?:www\.)?twitch\.tv/[^/]+/v/| | ||||
|                             (?:www\.)?twitch\.tv/(?:[^/]+/v|videos)/| | ||||
|                             player\.twitch\.tv/\?.*?\bvideo=v | ||||
|                         ) | ||||
|                         (?P<id>\d+) | ||||
| @@ -259,6 +259,9 @@ class TwitchVodIE(TwitchItemBaseIE): | ||||
|     }, { | ||||
|         'url': 'http://player.twitch.tv/?t=5m10s&video=v6528877', | ||||
|         'only_matching': True, | ||||
|     }, { | ||||
|         'url': 'https://www.twitch.tv/videos/6528877', | ||||
|         'only_matching': True, | ||||
|     }] | ||||
|  | ||||
|     def _real_extract(self, url): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․