1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

Fix code styling

This commit is contained in:
Lyz 2019-10-25 15:21:25 +02:00
parent 1a78919595
commit f424a20b90
No known key found for this signature in database
GPG Key ID: 6C7D7C1612CDE02F

View File

@ -121,8 +121,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' % key,
webpage, key, default=None, group='value' webpage, key, default=None, group='value')
)
artist = extract('artist') artist = extract('artist')
album = extract('album_title') album = extract('album_title')