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.
Choosing output file name in Python API #5192
Comments
|
Use the
|
|
Thanks, but that doesn't work for me. To be more precise: at the command line i can write
In the Python version I did not manage to force |
|
Please do post the error. Without it, we cannot help you. |
|
One more note: If you are still using Python 2.x, you must make sure to pass in unicode and not byte objects. The simplest way to do this is to add |
Also adapt the embedding examples for those poor souls still using 2.x.
|
Sorry for that, I meant
This command works and downloads the video as
I get this error. Importing unicode_literals did not solve the problem. |
|
Can you post the error you get when you add the |
|
Wait, it works ! My mistake with Also, in python2 simply writing I believe it's solved. Thanks for your time ! |
In terms of renaming the downloaded video, this also worked for me. |
Hi there, I am trying to download a video using the python API:
I can't figure what to put in the options to be able to set the output filename. Am I missing something obvious ? Thanks in advance.