mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-13 23:27:18 +08:00
don't rely on json-data, but just check for 'file'
This commit is contained in:
parent
803385278a
commit
85a696cc88
@ -50,7 +50,7 @@ class BandcampIE(InfoExtractor):
|
||||
data = json.loads(json_code)[0]
|
||||
track_id = compat_str(data['id'])
|
||||
|
||||
if not data['streaming']:
|
||||
if not data['file']:
|
||||
raise ExtractorError('Not streamable', video_id=track_id, expected=True)
|
||||
|
||||
formats = []
|
||||
|
Loading…
x
Reference in New Issue
Block a user