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:
parent
f69899d576
commit
8862774795
@ -473,7 +473,7 @@ class BandcampUserIE(InfoExtractor):
|
|||||||
r'<div[^>]+trackTitle["\'][^"\']+["\']([^"\']+)', webpage)
|
r'<div[^>]+trackTitle["\'][^"\']+["\']([^"\']+)', webpage)
|
||||||
|
|
||||||
for element in discography_data:
|
for element in discography_data:
|
||||||
if re.match('album', element):
|
if re.match('/album/+', element):
|
||||||
ie = BandcampAlbumIE.ie_key()
|
ie = BandcampAlbumIE.ie_key()
|
||||||
else:
|
else:
|
||||||
ie = BandcampIE.ie_key()
|
ie = BandcampIE.ie_key()
|
||||||
|
Loading…
Reference in New Issue
Block a user