1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-29 11:44:33 +01:00

Removed test if no albums exist

This commit is contained in:
Lyz 2019-03-08 13:08:35 +01:00
parent 09066bec55
commit 39506ecd2c
No known key found for this signature in database
GPG Key ID: 6C7D7C1612CDE02F

View File

@ -437,9 +437,6 @@ class BandcampUserIE(InfoExtractor):
album_elements = re.findall(r'<a href="/album/(.[^"]+)">', webpage) album_elements = re.findall(r'<a href="/album/(.[^"]+)">', webpage)
if not album_elements:
raise ExtractorError('The page doesn\'t contain any albums')
entries = [ entries = [
self.url_result( self.url_result(
compat_urlparse.urljoin(url, 'album/%s' % album_id), compat_urlparse.urljoin(url, 'album/%s' % album_id),