From 886277479540a9a9790d8b85a6481203405d4bc2 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()