mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-25 18:04:33 +01:00
Removed test if no albums exist
This commit is contained in:
parent
57f736fbf6
commit
d0a1cb3ae6
@ -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),
|
||||||
|
Loading…
Reference in New Issue
Block a user