mirror of
https://github.com/soimort/you-get.git
synced 2025-01-23 05:25:02 +03:00
Update bandcamp.py
This commit is contained in:
parent
027130a45a
commit
adadb7e3a1
@ -6,7 +6,7 @@ from ..common import *
|
||||
|
||||
def bandcamp_download(url, output_dir='.', merge=True, info_only=False, **kwargs):
|
||||
html = get_html(url)
|
||||
trackinfo = json.loads(r1(r'(\[{"(video_poster_url|video_caption)".*}\]),', html))
|
||||
trackinfo = json.loads(r1(r'(\[{"(video_poster_url|video_caption)".*}\]),', html)) #here is an issue that i can't fix
|
||||
for track in trackinfo:
|
||||
track_num = track['track_num']
|
||||
title = '%s. %s' % (track_num, track['title'])
|
||||
|
Loading…
Reference in New Issue
Block a user