mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-29 03:34:32 +01:00
Capture non-greedy the album elements
This commit is contained in:
parent
10db6fba80
commit
e7bbe73f9d
@ -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