mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-21 20:46:36 -05:00
parent
1f7db8533a
commit
81c5f44c0f
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,7 @@ def _real_extract(self, url):
|
||||||
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 @@ def _real_extract(self, url):
|
||||||
'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…
Reference in a new issue