mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[twitch] Move URL matching tests into extractor
This commit is contained in:
		| @@ -148,14 +148,17 @@ class TwitchChapterIE(TwitchItemBaseIE): | ||||
|     _ITEM_TYPE = 'chapter' | ||||
|     _ITEM_SHORTCUT = 'c' | ||||
|  | ||||
|     _TEST = { | ||||
|     _TESTS = [{ | ||||
|         'url': 'http://www.twitch.tv/acracingleague/c/5285812', | ||||
|         'info_dict': { | ||||
|             'id': 'c5285812', | ||||
|             'title': 'ACRL Off Season - Sports Cars @ Nordschleife', | ||||
|         }, | ||||
|         'playlist_mincount': 3, | ||||
|     } | ||||
|     }, { | ||||
|         'url': 'http://www.twitch.tv/tsm_theoddone/c/2349361', | ||||
|         'only_matching': True, | ||||
|     }] | ||||
|  | ||||
|  | ||||
| class TwitchVodIE(TwitchItemBaseIE): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister