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.
[API] Possible to perform chunked downloads? #11322
Comments
|
There is no explicit interface for downloading range of bytes. Moreover it does not make much sense in some cases. For example, some videos are already delivered as chunks (hls, hds, dash, ism). Some are streamed via protocols youtube-dl utilizes 3rdparty tools for. Even in case of plain HTTP download remote server may not support partial downloads and just ignore Range header. |
|
Thank you for your response. I think my best bet right now is to make a fork and modify the http downloader since I am looking to download only from Youtube. |
|
Youtube streams in DASH as well bot only in plain HTTP. And in HLS for live streams also. |
I am trying to use youtube-dl where there is limited disk space. However, I can process chunks of the file separately.
I am wondering if it is possible to instruct youtube-dl to download a certain range of bytes of the video? I can then process that range, delete the resulting file, and so on.