1
0
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:
Lyz 2019-03-08 13:05:35 +01:00
parent e0a9e262ee
commit 16efa6ebcc
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)
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')