Skip to content

A feature-rich command-line audio/video downloader

[fc2] Fix extraction (#2776)

Lesmiscore (Naoya Ozaki)81c5f44c0f15
diff --git a/yt_dlp/extractor/fc2.py b/yt_dlp/extractor/fc2.py
index a407ba158f..2c19a0c6e3 100644
--- a/yt_dlp/extractor/fc2.py
+++ b/yt_dlp/extractor/fc2.py
@@ -90,7 +90,7 @@ class FC2IE(InfoExtractor):
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 @@ class FC2IE(InfoExtractor):
'title': title,
'url': vid_url,
'ext': 'mp4',
+ 'protocol': 'm3u8_native',
'description': description,
'thumbnail': thumbnail,
}