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.
[niconico] TypeError: POST data should be bytes or an iterable of bytes. It cannot be of type str. #17393
Comments
|
I'm seeing the same issue. Some videos work, some don't (though both of the examples given fail for me). I also noticed that running youtube-dl with python2 instead of python3 works for every video I've tried. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.08.28. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):Description of your issue, suggested solution and other information
Error occurs for certain niconico URLs. I haven't tested extensively but it seems to occur exclusively on (some) recent videos (~July 2018).
e.g. http://www.nicovideo.jp/watch/sm33642362 -- works
http://www.nicovideo.jp/watch/sm33755147 -- fails with above error