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.
Possibility to pipe downloaded file to Django response #11011
Comments
|
Use |
|
Could you elaborate? I thought |
|
I guess |
Yes you're right. |
|
No feedback for a long time, so I assume things are working fine. Feel free to leave comments if there's still something wrong. |
|
Thanks :)
|
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2016.10.21.1. 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?
Description of your issue, suggested solution and other information
I am using
youtube_dlwithDjango. Currently I haveyoutube_dldownload files to a temporary location, and send that file to a request. I wonder if I can somehow stream the file directly to the client without having to materialize a file on disk. This is possible withnode_ytdl_corebecause NodeJS has good support for async operation and pipeline. I can also do this with Java.I think this is doable if
youtube_dlexposes a stream object programmatically, but I have not yet found out how to do so.