From d0a1cb3ae65ed104056f0411b7db418d1e9a2f13 Mon Sep 17 00:00:00 2001 From: Lyz Date: Fri, 8 Mar 2019 13:08:35 +0100 Subject: [PATCH] Removed test if no albums exist --- youtube_dl/extractor/bandcamp.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py index 9e299b7bf..fbe834f91 100644 --- a/youtube_dl/extractor/bandcamp.py +++ b/youtube_dl/extractor/bandcamp.py @@ -437,9 +437,6 @@ class BandcampUserIE(InfoExtractor): album_elements = re.findall(r'', webpage) - if not album_elements: - raise ExtractorError('The page doesn\'t contain any albums') - entries = [ self.url_result( compat_urlparse.urljoin(url, 'album/%s' % album_id),