mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-25 08:10:36 +01:00
[soundcloud] flake8
This commit is contained in:
parent
169bd46bdc
commit
4ae68091bb
@ -273,7 +273,7 @@ def _real_extract(self, url):
|
|||||||
})
|
})
|
||||||
else:
|
else:
|
||||||
urlh = self._request_webpage(
|
urlh = self._request_webpage(
|
||||||
HEADRequest(format_url), video_id, 'Checking file size', fatal=False)
|
HEADRequest(format_url), video_id, 'Checking file size', fatal=False)
|
||||||
formats.append({
|
formats.append({
|
||||||
'url': format_url,
|
'url': format_url,
|
||||||
'format_id': '%s-%s' % (format_id, protocol),
|
'format_id': '%s-%s' % (format_id, protocol),
|
||||||
@ -311,7 +311,7 @@ def _real_extract(self, url):
|
|||||||
stream_ids = []
|
stream_ids = []
|
||||||
for f in formats:
|
for f in formats:
|
||||||
s_id = f.get('stream_id')
|
s_id = f.get('stream_id')
|
||||||
if s_id != None:
|
if s_id is not None:
|
||||||
stream_ids.append(s_id)
|
stream_ids.append(s_id)
|
||||||
|
|
||||||
subtitles = {}
|
subtitles = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user