From c5fc9292151472ea99c055e859412cce7c8e5d1c Mon Sep 17 00:00:00 2001 From: Lyz Date: Thu, 7 Nov 2019 16:44:17 +0100 Subject: [PATCH] Fix regexp --- 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 90d1e5558..7d3daff7a 100644 --- a/youtube_dl/extractor/bandcamp.py +++ b/youtube_dl/extractor/bandcamp.py @@ -120,7 +120,7 @@ class BandcampIE(InfoExtractor): def extract(key): return self._search_regex( - r'\b%s\s*["\']?\s*:\s*(["\'])(?P.+)\1' % key, + r'\b%s\s*["\']?\s*:\s*(["\'])(?P(?:(?!\1)).+)\1' % key, webpage, key, default=None, group='value') artist = extract('artist')