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

Fix regular expression

This commit is contained in:
Lyz 2019-10-25 17:40:45 +02:00
parent 895f5e8b04
commit 61c6d221e9
No known key found for this signature in database
GPG Key ID: 6C7D7C1612CDE02F

View File

@ -473,7 +473,7 @@ class BandcampUserIE(InfoExtractor):
r'<div[^>]+trackTitle["\'][^"\']+["\']([^"\']+)', webpage)
for element in discography_data:
if re.match('album', element):
if re.match('/album/+', element):
ie = BandcampAlbumIE.ie_key()
else:
ie = BandcampIE.ie_key()