[fc2] Fix extraction (#2776)

Closes #2774

Authored by: Lesmiscore
pull/2781/head
Lesmiscore (Naoya Ozaki) 3 years ago committed by GitHub
parent 1f7db8533a
commit 81c5f44c0f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -90,7 +90,7 @@ class FC2IE(InfoExtractor):
webpage, webpage,
'title', fatal=False) 'title', fatal=False)
thumbnail = self._og_search_thumbnail(webpage) thumbnail = self._og_search_thumbnail(webpage)
description = self._og_search_description(webpage) description = self._og_search_description(webpage, default=None)
vidplaylist = self._download_json( vidplaylist = self._download_json(
'https://video.fc2.com/api/v3/videoplaylist/%s?sh=1&fs=0' % video_id, video_id, 'https://video.fc2.com/api/v3/videoplaylist/%s?sh=1&fs=0' % video_id, video_id,
@ -105,6 +105,7 @@ class FC2IE(InfoExtractor):
'title': title, 'title': title,
'url': vid_url, 'url': vid_url,
'ext': 'mp4', 'ext': 'mp4',
'protocol': 'm3u8_native',
'description': description, 'description': description,
'thumbnail': thumbnail, 'thumbnail': thumbnail,
} }

Loading…
Cancel
Save