mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[24video] Fix uploader extraction
This commit is contained in:
		| @@ -15,7 +15,7 @@ class TwentyFourVideoIE(InfoExtractor): | |||||||
|     _TESTS = [ |     _TESTS = [ | ||||||
|         { |         { | ||||||
|             'url': 'http://www.24video.net/video/view/1044982', |             'url': 'http://www.24video.net/video/view/1044982', | ||||||
|             'md5': '48dd7646775690a80447a8dca6a2df76', |             'md5': 'd041af8b5b4246ea466226a0d6693345', | ||||||
|             'info_dict': { |             'info_dict': { | ||||||
|                 'id': '1044982', |                 'id': '1044982', | ||||||
|                 'ext': 'mp4', |                 'ext': 'mp4', | ||||||
| @@ -54,7 +54,7 @@ class TwentyFourVideoIE(InfoExtractor): | |||||||
|             webpage, 'upload date')) |             webpage, 'upload date')) | ||||||
|  |  | ||||||
|         uploader = self._html_search_regex( |         uploader = self._html_search_regex( | ||||||
|             r'Загрузил\s*<a href="/jsecUser/movies/[^"]+" class="link">([^<]+)</a>', |             r'class="video-uploaded"[^>]*>\s*<a href="/jsecUser/movies/[^"]+"[^>]*>([^<]+)</a>', | ||||||
|             webpage, 'uploader', fatal=False) |             webpage, 'uploader', fatal=False) | ||||||
|  |  | ||||||
|         view_count = int_or_none(self._html_search_regex( |         view_count = int_or_none(self._html_search_regex( | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Sergey M․
					Sergey M․