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.
KeyError: 'sig' on any youtube video #2497
Comments
|
Could you post the command line you are using and the full output you get when running |
|
I noticed that they replaced the 'sig' parameter with 'signature' so this line in youtube.py:
should be replaced by:
I am still receiving sometimes 'sig' instead of 'signature' so the best would be to check for both.
|
|
Could you please post the full output you get when running
As you can see this video works. |
|
Sorry, I forgot the
btw: quote
shouldn't that be escaped (for the case that signature contains percent signs, &s and the like)? |
|
You are clearly running an outdated version: it should print more |
|
Am I the only one getting
where are replacing |
|
@astazed I get |
|
Yes, as I said, I confused them yesterday. With the 2014 one it works, so there'd be no use of posting the verbose output, so I pasted the one from the 2012 version. I'll use the new version now, but as the 2012.something version is the one included in Debian stable, it'd be nice to update that one, too. I don't know how that is done, maybe it's better to file a bug over at debian? |
|
Sure, feel free to file a bug report at debian. However, we do not maintain older versions. Since video services change regularly, there's really no point in separating features and bugfixes, since an inordinate amount of changes are what would be considered bug fixes at other projects. |
|
Yes that's right. I'll leave that up to the maintainer. I remember that there have been updates of that package in the past in case of such problems rendering the tool useless. We'll see. Thanks so far! |
|
@Maix, you should really take the packages that I upload to unstable. Despite the name, unstable is not something that you should fear and, in fact, that's essentially the only distribution that I care about (any potential backport was simply not done or requested by me). Th testing distribution is also "supported" (in the sense that I will care about it), but I think that I will never let a youtube-dl version be released in a stable release (I would have too many problems getting it uploaded/reviewed by the Stable Release Managers, as they would complain that youtube-dl's code changes way too much---and, in fact, it does, due to the very nature of scraping tools and web services). |
|
I just saw that I don't have the version installed from wheezy but still one from wheezy and that it isn't included in wheezy at all. That means we can close the debian bug I think? Your suggestion would mean one had to include unstable in the sources.list all the time, which isn't all that easy for normal users... But as long as stable remains that strict without exceptions for highly "api-bound" applications there's probably no way to solve that!? The only way to solve that would be to really separate the plugins from the core and sandbox them (or define some language for the parsing process instead of using python), so that those can be updated independently, maybe even by some third-party site as it is done by greasemonkey or stylish. That'd really be cool but I think it's too complicated(?) |
I cannot download youtube videos. On really everyone (I even tried some from the front page to verify) I get this:
Version: both 2012.09.27 (debian wheezy) and the newest one (2014.02.28)