mirror of
				https://github.com/ytdl-org/youtube-dl
				synced 2025-10-31 01:33:15 +00:00 
			
		
		
		
	[vlive] Add test for #11203
This commit is contained in:
		
							parent
							
								
									49b69ad91c
								
							
						
					
					
						commit
						58355a3bf1
					
				| @ -17,7 +17,7 @@ from ..compat import compat_urllib_parse_urlencode | |||||||
| class VLiveIE(InfoExtractor): | class VLiveIE(InfoExtractor): | ||||||
|     IE_NAME = 'vlive' |     IE_NAME = 'vlive' | ||||||
|     _VALID_URL = r'https?://(?:(?:www|m)\.)?vlive\.tv/video/(?P<id>[0-9]+)' |     _VALID_URL = r'https?://(?:(?:www|m)\.)?vlive\.tv/video/(?P<id>[0-9]+)' | ||||||
|     _TEST = { |     _TESTS = [{ | ||||||
|         'url': 'http://www.vlive.tv/video/1326', |         'url': 'http://www.vlive.tv/video/1326', | ||||||
|         'md5': 'cc7314812855ce56de70a06a27314983', |         'md5': 'cc7314812855ce56de70a06a27314983', | ||||||
|         'info_dict': { |         'info_dict': { | ||||||
| @ -27,7 +27,20 @@ class VLiveIE(InfoExtractor): | |||||||
|             'creator': "Girl's Day", |             'creator': "Girl's Day", | ||||||
|             'view_count': int, |             'view_count': int, | ||||||
|         }, |         }, | ||||||
|     } |     }, { | ||||||
|  |         'url': 'http://www.vlive.tv/video/16937', | ||||||
|  |         'info_dict': { | ||||||
|  |             'id': '16937', | ||||||
|  |             'ext': 'mp4', | ||||||
|  |             'title': '[V LIVE] 첸백시 걍방', | ||||||
|  |             'creator': 'EXO', | ||||||
|  |             'view_count': int, | ||||||
|  |             'subtitles': 'mincount:12', | ||||||
|  |         }, | ||||||
|  |         'params': { | ||||||
|  |             'skip_download': True, | ||||||
|  |         }, | ||||||
|  |     }] | ||||||
| 
 | 
 | ||||||
|     def _real_extract(self, url): |     def _real_extract(self, url): | ||||||
|         video_id = self._match_id(url) |         video_id = self._match_id(url) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Sergey M․
						Sergey M․