mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-17 18:08:30 +00:00
Removed blankspaces
This commit is contained in:
parent
296b10386f
commit
688b76d405
@ -461,8 +461,6 @@ def _real_extract(self, url):
|
||||
track_url = f'https://bandcamp.com/download?id={audio_track_id}'
|
||||
audio_page = self._download_webpage(
|
||||
track_url, show_id, 'Downloading audio download page')
|
||||
|
||||
|
||||
audio_blob = self._extract_data_attr(audio_page, show_id, 'blob', fatal=False)
|
||||
if audio_blob:
|
||||
# The formats are now in the 'downloads' list within the audio_blob
|
||||
@ -475,8 +473,6 @@ def _real_extract(self, url):
|
||||
'ext': f.get('encoding_name'),
|
||||
'vcodec': 'none',
|
||||
})
|
||||
|
||||
|
||||
if not formats and show.get('audio_stream'):
|
||||
for format_id, format_url in show['audio_stream'].items():
|
||||
if not url_or_none(format_url):
|
||||
@ -493,7 +489,6 @@ def _real_extract(self, url):
|
||||
'ext': ext,
|
||||
'vcodec': 'none',
|
||||
})
|
||||
|
||||
if not formats:
|
||||
raise ExtractorError('Could not find any audio formats for this episode.')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user