Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Expected Behaviour
The audio files are downloaded as MP3s.
STDERR
colin@pop-os:~$ youtube-dl https://soundcloud.com/the-dollop/386-the-war-on-squirrels [soundcloud] the-dollop/386-the-war-on-squirrels: Downloading webpage WARNING: Unable to download webpage: HTTP Error 500: Internal Server Error Traceback (most recent call last): File "/usr/bin/youtube-dl", line 6, in <module> youtube_dl.main() File "/usr/lib/python3/dist-packages/youtube_dl/__init__.py", line 479, in main _real_main(argv) File "/usr/lib/python3/dist-packages/youtube_dl/__init__.py", line 469, in _real_main retcode = ydl.download(all_urls) File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 2008, in download url, force_generic_extractor=self.params.get('force_generic_extractor', False)) File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info ie_result = ie.extract(url) File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 529, in extract ie_result = self._real_extract(url) File "/usr/lib/python3/dist-packages/youtube_dl/extractor/soundcloud.py", line 446, in _real_extract info_json_url, full_title, 'Downloading info JSON') UnboundLocalError: local variable 'info_json_url' referenced before assignment colin@pop-os:~$ man youtube-dl colin@pop-os:~$ youtube-dl -v https://soundcloud.com/the-dollop/386-the-war-on-squirrels [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v', 'https://soundcloud.com/the-dollop/386-the-war-on-squirrels'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2019.04.24 [debug] Python version 3.7.3 (CPython) - Linux-5.0.0-15-generic-x86_64-with-Ubuntu-19.04-disco [debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3, phantomjs 2.1.1, rtmpdump 2.4 [debug] Proxy map: {} [soundcloud] the-dollop/386-the-war-on-squirrels: Downloading webpage WARNING: Unable to download webpage: HTTP Error 500: Internal Server Error Traceback (most recent call last): File "/usr/bin/youtube-dl", line 6, in <module> youtube_dl.main() File "/usr/lib/python3/dist-packages/youtube_dl/__init__.py", line 479, in main _real_main(argv) File "/usr/lib/python3/dist-packages/youtube_dl/__init__.py", line 469, in _real_main retcode = ydl.download(all_urls) File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 2008, in download url, force_generic_extractor=self.params.get('force_generic_extractor', False)) File "/usr/lib/python3/dist-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info ie_result = ie.extract(url) File "/usr/lib/python3/dist-packages/youtube_dl/extractor/common.py", line 529, in extract ie_result = self._real_extract(url) File "/usr/lib/python3/dist-packages/youtube_dl/extractor/soundcloud.py", line 446, in _real_extract info_json_url, full_title, 'Downloading info JSON') UnboundLocalError: local variable 'info_json_url' referenced before assignment colin@pop-os:~$