mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-03-17 13:32:21 +09:00
Update soundcloud.py
bug: UnboundLocalError: local variable 'video_id' referenced before assignment removed unnecessary variable binding 'video_id' in _extract_info_dict
This commit is contained in:
parent
02bcf0d389
commit
5267a8d52e
@ -54,8 +54,7 @@ class SoundcloudIE(InfoExtractor):
|
||||
return 'http://api.soundcloud.com/resolve.json?url=' + url + '&client_id=' + cls._CLIENT_ID
|
||||
|
||||
def _extract_info_dict(self, info, full_title=None):
|
||||
video_id = info['id']
|
||||
name = full_title or video_id
|
||||
name = full_title or info['id']
|
||||
self.report_extraction(name)
|
||||
|
||||
thumbnail = info['artwork_url']
|
||||
|
Loading…
Reference in New Issue
Block a user