1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

Fix regexp

This commit is contained in:
Lyz 2019-11-07 16:44:17 +01:00
parent 868586835e
commit c5fc929215
No known key found for this signature in database
GPG Key ID: 6C7D7C1612CDE02F

View File

@ -120,7 +120,7 @@ class BandcampIE(InfoExtractor):
def extract(key):
return self._search_regex(
r'\b%s\s*["\']?\s*:\s*(["\'])(?P<value>.+)\1' % key,
r'\b%s\s*["\']?\s*:\s*(["\'])(?P<value>(?:(?!\1)).+)\1' % key,
webpage, key, default=None, group='value')
artist = extract('artist')