mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[ie/fc2] Fix old video support (#12633)
Closes #11778 Authored by: JChris246, seproDev Co-authored-by: sepro <sepro@sepr0.com>
This commit is contained in:
		| @@ -22,8 +22,23 @@ class FC2IE(InfoExtractor): | ||||
|         'md5': 'a6ebe8ebe0396518689d963774a54eb7', | ||||
|         'info_dict': { | ||||
|             'id': '20121103kUan1KHs', | ||||
|             'ext': 'flv', | ||||
|             'title': 'Boxing again with Puff', | ||||
|             'ext': 'mp4', | ||||
|             'thumbnail': r're:https?://.+\.jpe?g', | ||||
|         }, | ||||
|         'params': { | ||||
|             'skip_download': 'm3u8', | ||||
|         }, | ||||
|     }, { | ||||
|         # Direct video url | ||||
|         'url': 'https://video.fc2.com/content/20121209FP73fxDx', | ||||
|         'md5': '066bdb9b3a56a97f49cbf0d0b8a75a1f', | ||||
|         'info_dict': { | ||||
|             'id': '20121209FP73fxDx', | ||||
|             'title': 'Farewelling The Wiggles Live in Sydney Dec 8 2012', | ||||
|             'ext': 'mp4', | ||||
|             'thumbnail': r're:https?://.+\.jpe?g', | ||||
|             'description': 'Saying goodbye to the Wiggles at their Celebration Concert in Sydney, and what a concert that was!', | ||||
|         }, | ||||
|     }, { | ||||
|         'url': 'http://video.fc2.com/en/content/20150125cEva0hDn/', | ||||
| @@ -104,7 +119,7 @@ class FC2IE(InfoExtractor): | ||||
|             'title': title, | ||||
|             'url': vid_url, | ||||
|             'ext': 'mp4', | ||||
|             'protocol': 'm3u8_native', | ||||
|             'protocol': 'm3u8_native' if vidplaylist.get('type') == 2 else 'https', | ||||
|             'description': description, | ||||
|             'thumbnail': thumbnail, | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 JChris246
					JChris246