mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-25 09:54:32 +01:00
Capture non-greedy the album elements
This commit is contained in:
parent
e0a9e262ee
commit
16efa6ebcc
@ -436,7 +436,7 @@ class BandcampUserIE(InfoExtractor):
|
||||
|
||||
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:
|
||||
raise ExtractorError('The page doesn\'t contain any albums')
|
||||
|
Loading…
Reference in New Issue
Block a user