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.
Error when using --write-description on some youtube videos #800
Comments
|
In python2.7 the error is caused because it tries to write a str object, if the fix doesn't work in python2.6, please comment and I'll reopen the issue. |
|
That's not really the problem though; we shouldn't have to default to an empty description in the first place. |
|
Ok, I've tested in python2.6 and it's also fixed. |
|
http://www.youtube.com/watch?v=fYzDtoYx4vU should have a description; at least I can see one on the page! But yes, a more sensible default would be not registering the description field in the first place, and then not writing it. |
|
The problem is that the video is rated TV-14 and this is the page we get: https://gist.github.com/jaimeMF/5442645, see this lines: https://gist.github.com/jaimeMF/5442645#file-downloaded-html-L128-L131. |
|
Oh, you're right, the page shows up differently when not logged in. However, a significant part of the description is still there. |
|
Hi, I have the same problem : youtube-dl --verbose --ignore-config --write-description http://www.veoh.com/watch/v46093745wbEGkakh Any idea ? Seb. |
youtube-dl: 2013.04.22
Python: 2.6.6
OS: Debian Squeeze GNU/Linux amd64
How to reproduce, as of 2013-04-23:
I have only now begun using the
--write-descriptionoption; this is the only video so far that produces this error.