[fc2] Fix extraction (#2776)

Closes #2774

Authored by: Lesmiscore
This commit is contained in:
Lesmiscore (Naoya Ozaki) 2022-02-15 01:35:20 +09:00 committed by GitHub
parent 1f7db8533a
commit 81c5f44c0f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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