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.
youtube-dl crashed with KeyError in _real_extract(): 'player_swf_url' #278
Comments
|
Mixcloud seems to have completely revamped their API; we basically need a new extractor. See http://www.mixcloud.com/developers/documentation/ for documentation. I'll look into it, but that may take some time (~April). You are of course free to provide patches. |
|
Any news of a fix for this? I get this output for mixcloud WARNING: the program functionality for this site has been marked as broken, and will probably not work. If you want to go on, use the -i option. |
|
@grexe yes, please add an new issue, they are different sites, the issues are not related. |
|
ok moved, thanks for the very quick reaction, cheers! |
|
Should be fixed now. |
The new version of youtube-dl seems to be able to download from mixcloud:
+ Added support for Mixcloud.
Unfortunately it doesn't seem to work as intended.
Traceback (most recent call last):
File "/usr/bin/youtube-dl", line 4521, in
main()
File "/usr/bin/youtube-dl", line 4512, in main
_real_main()
File "/usr/bin/youtube-dl", line 4496, in _real_main
retcode = fd.download(all_urls)
File "/usr/bin/youtube-dl", line 849, in download
ie.extract(url)
File "/usr/bin/youtube-dl", line 1107, in extract
return self._real_extract(url)
File "/usr/bin/youtube-dl", line 3722, in _real_extract
player_url = json_data['player_swf_url']
KeyError: 'player_swf_url'
More information available on https://bugs.launchpad.net/ubuntu/+source/youtube-dl/+bug/918126
ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: youtube-dl 2012.01.05-2
ProcVersionSignature: Ubuntu 3.2.0-9.16-generic 3.2.1
Uname: Linux 3.2.0-9-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
CheckboxSubmission: 2f383a1679e8525d7196eb2518a1921f
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
Date: Wed Jan 18 12:05:59 2012
ExecutablePath: /usr/bin/youtube-dl
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110817)
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: python /usr/bin/youtube-dl -t http://www.mixcloud.com/dholbach/cryptkeeper/
PythonArgs: ['/usr/bin/youtube-dl', '-t', 'http://www.mixcloud.com/dholbach/cryptkeeper/']
SourcePackage: youtube-dl
Title: youtube-dl crashed with KeyError in _real_extract(): 'player_swf_url'
UpgradeStatus: Upgraded to precise on 2012-01-12 (5 days ago)
UserGroups: adm admin audio cdrom dialout lpadmin plugdev sambashare