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.
How do I dump JSONs from a search as soon as they are available? #16235
Comments
|
By splitting into several requests. |
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.04.16. 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?
How do I dump video JSON's as they become available?
Running youtube-dl as a shell application with
youtube-dl --dump-json "ytsearch8:vinesauce"dumps each JSON to stdout as soon as it finishes. However, running it as a python module causes it to be buffered until the entire search is finished:How do I get JSON's as soon as they are available in a python script?