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

Captured album element with album

This commit is contained in:
Lyz 2019-03-08 16:52:25 +01:00
parent 6c73c2b145
commit dcace8017d
No known key found for this signature in database
GPG Key ID: 6C7D7C1612CDE02F

View File

@ -442,11 +442,11 @@ 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)
entries = [
self.url_result(
compat_urlparse.urljoin(url, 'album/%s' % album_id),
compat_urlparse.urljoin(url, album_id),
ie=BandcampAlbumIE.ie_key(),
video_id='{}-{}'.format(uploader, album_id),
video_title=album_id,