mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-07 16:47:16 +08: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…
x
Reference in New Issue
Block a user