1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-25 09:54:32 +01:00

Fix regular expression

This commit is contained in:
Lyz 2019-10-25 17:40:45 +02:00
parent f69899d576
commit 8862774795
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()