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

Capture non-greedy the album elements

This commit is contained in:
Lyz 2019-03-08 13:05:35 +01:00
parent 10db6fba80
commit e7bbe73f9d
No known key found for this signature in database
GPG Key ID: 6C7D7C1612CDE02F

View File

@ -436,7 +436,7 @@ class BandcampUserIE(InfoExtractor):
webpage = self._download_webpage(url, uploader) webpage = self._download_webpage(url, uploader)
album_elements = re.findall(r'<a href="/album/(.+)">', webpage) album_elements = re.findall(r'<a href="/album/(.[^"]+)">', webpage)
if not album_elements: if not album_elements:
raise ExtractorError('The page doesn\'t contain any albums') raise ExtractorError('The page doesn\'t contain any albums')