From 688b76d4052803d2e0073c6f86dc8b8071a9854a Mon Sep 17 00:00:00 2001 From: harsh1504660 Date: Sat, 9 Aug 2025 23:55:42 +0530 Subject: [PATCH] Removed blankspaces --- yt_dlp/extractor/bandcamp.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/yt_dlp/extractor/bandcamp.py b/yt_dlp/extractor/bandcamp.py index 0e3cfaeba..c2defe1bc 100644 --- a/yt_dlp/extractor/bandcamp.py +++ b/yt_dlp/extractor/bandcamp.py @@ -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.')