mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-22 13:18:29 +00:00
fix: correct lint errors
This commit is contained in:
parent
2d12783b9c
commit
481328cc19
@ -24,11 +24,11 @@ class FC2IE(InfoExtractor):
|
|||||||
'id': '20121103kUan1KHs',
|
'id': '20121103kUan1KHs',
|
||||||
'title': 'Boxing again with Puff',
|
'title': 'Boxing again with Puff',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'thumbnail': 're:^https?://.+.jpg?(?:\\d+)?'
|
'thumbnail': 're:^https?://.+.jpg?(?:\\d+)?',
|
||||||
},
|
},
|
||||||
'file_minsize': 633,
|
'file_minsize': 633,
|
||||||
'params': {
|
'params': {
|
||||||
'skip_download': True
|
'skip_download': True,
|
||||||
},
|
},
|
||||||
}, {
|
}, {
|
||||||
'url': 'https://video.fc2.com/content/20121129xMeT3Czt',
|
'url': 'https://video.fc2.com/content/20121129xMeT3Czt',
|
||||||
@ -115,7 +115,7 @@ def _real_extract(self, url):
|
|||||||
vid_url = urljoin('https://video.fc2.com/', vid_url)
|
vid_url = urljoin('https://video.fc2.com/', vid_url)
|
||||||
|
|
||||||
if vidplaylist.get('type') == '1':
|
if vidplaylist.get('type') == '1':
|
||||||
formats = self._extract_m3u8_formats(vid_url, video_id, 'mp4',)
|
formats = self._extract_m3u8_formats(vid_url, video_id, 'mp4')
|
||||||
else:
|
else:
|
||||||
formats = [{
|
formats = [{
|
||||||
'url': vid_url,
|
'url': vid_url,
|
||||||
|
Loading…
Reference in New Issue
Block a user