aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLesmiscore (Naoya Ozaki) <nao20010128@gmail.com>2022-02-15 01:35:20 +0900
committerGitHub <noreply@github.com>2022-02-15 01:35:20 +0900
commit81c5f44c0f154ceeeb0b1e110162793644c4f650 (patch)
treeb4f271c9f3365ef309a572d40f95f3fbbe80b0a4
parent1f7db8533ad0cdb06ec521b17aa503134e94413f (diff)
downloadhypervideo-pre-81c5f44c0f154ceeeb0b1e110162793644c4f650.tar.lz
hypervideo-pre-81c5f44c0f154ceeeb0b1e110162793644c4f650.tar.xz
hypervideo-pre-81c5f44c0f154ceeeb0b1e110162793644c4f650.zip
[fc2] Fix extraction (#2776)
Closes #2774 Authored by: Lesmiscore
-rw-r--r--yt_dlp/extractor/fc2.py3
1 files changed, 2 insertions, 1 deletions
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 @@ 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,
}