mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-10 15:28:33 +00:00
fix: add trailing commas
This commit is contained in:
parent
3660d3f33f
commit
9136c8c72e
@ -14,8 +14,8 @@ class IcePornIE(InfoExtractor):
|
|||||||
'description': 're:Eva Karera Gets Her Trimmed Cunt Plowed - Pornstar, Milf, Blowjob, Big Boobs Porn Movies - 2296835',
|
'description': 're:Eva Karera Gets Her Trimmed Cunt Plowed - Pornstar, Milf, Blowjob, Big Boobs Porn Movies - 2296835',
|
||||||
'thumbnail': 're:https?://g\\d.iceppsn.com/media/videos/tmb/\\d+/preview/\\d+.jpg',
|
'thumbnail': 're:https?://g\\d.iceppsn.com/media/videos/tmb/\\d+/preview/\\d+.jpg',
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'duration': 2178
|
'duration': 2178,
|
||||||
}
|
},
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
@ -23,9 +23,9 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
webpage = self._download_webpage(url, video_id)
|
webpage = self._download_webpage(url, video_id)
|
||||||
video_data = self._download_json('https://www.iceporn.com/player_config_json/', video_id, query={
|
video_data = self._download_json('https://www.iceporn.com/player_config_json/', video_id, query={
|
||||||
'vid': video_id, 'aid': 0, 'domain_id': 0, 'embed': 0, 'ref': 'null', 'check_speed': 0
|
'vid': video_id, 'aid': 0, 'domain_id': 0, 'embed': 0, 'ref': 'null', 'check_speed': 0,
|
||||||
}, headers={
|
}, headers={
|
||||||
'Accept': 'application/json'
|
'Accept': 'application/json',
|
||||||
})
|
})
|
||||||
|
|
||||||
formats = []
|
formats = []
|
||||||
@ -33,7 +33,7 @@ def _real_extract(self, url):
|
|||||||
if video_url:
|
if video_url:
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': video_url,
|
'url': video_url,
|
||||||
'format_id': quality_id
|
'format_id': quality_id,
|
||||||
})
|
})
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
Loading…
Reference in New Issue
Block a user