Fix regular expression
This commit is contained in:
parent
895f5e8b04
commit
61c6d221e9
@ -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…
x
Reference in New Issue
Block a user