From 81c5f44c0f154ceeeb0b1e110162793644c4f650 Mon Sep 17 00:00:00 2001 From: "Lesmiscore (Naoya Ozaki)" Date: Tue, 15 Feb 2022 01:35:20 +0900 Subject: [PATCH] [fc2] Fix extraction (#2776) Closes #2774 Authored by: Lesmiscore --- yt_dlp/extractor/fc2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/yt_dlp/extractor/fc2.py b/yt_dlp/extractor/fc2.py index a407ba158..2c19a0c6e 100644 --- a/yt_dlp/extractor/fc2.py +++ b/yt_dlp/extractor/fc2.py @@ -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, }