From 61c6d221e98c8cd10aa067762cb0dd4473da2b49 Mon Sep 17 00:00:00 2001 From: Lyz Date: Fri, 25 Oct 2019 17:40:45 +0200 Subject: [PATCH] Fix regular expression --- youtube_dl/extractor/bandcamp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube_dl/extractor/bandcamp.py b/youtube_dl/extractor/bandcamp.py index d488c8622..ba4440c57 100644 --- a/youtube_dl/extractor/bandcamp.py +++ b/youtube_dl/extractor/bandcamp.py @@ -473,7 +473,7 @@ class BandcampUserIE(InfoExtractor): r']+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()