mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 16:44:32 +01:00
Fix regexp
This commit is contained in:
parent
868586835e
commit
c5fc929215
@ -120,7 +120,7 @@ class BandcampIE(InfoExtractor):
|
|||||||
|
|
||||||
def extract(key):
|
def extract(key):
|
||||||
return self._search_regex(
|
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')
|
webpage, key, default=None, group='value')
|
||||||
|
|
||||||
artist = extract('artist')
|
artist = extract('artist')
|
||||||
|
Loading…
Reference in New Issue
Block a user