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.
can youtube-dl be interrupted and resumed from the same point #11308
Comments
|
other reason to do this
|
|
|
|
@yan12125 how to do this ? However, it's unlikely that the same download link is still valid after hours. not so with youtube , youtube-dl will also verify it when resuming the session , else should give some error . |
|
Here's an example: record all the information first, interrupt it whenever you want and load the
|
|
@yan12125 you should add this example in readme.md file , its a great feature by the way , i can just code a session.json file to behave like my example how did you interrupted it without closing the terminal |
Just Ctrl+C |
|
Just Ctrl+C its copy command can you provide just another example with mutiple file link , so that i can get it properly |
By default Ctrl+C terminates the current process. You may want to check your terminal settings.
Not sure what you mean. |
|
a.txt has 10 links |
|
Try this: |
|
how to resume it |
|
Just like the case of a single video - |
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.11.22. 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?
Is it possible in youtube-dl to interrupt an instance of it and later resume from the exact point.
eg:
I used youtube-dl to download single file from youtube
wrote the command youtube-dl [link]
due to low battery , i interrupted it manually by closing it , then after 30 mins , re typed
the command youtube-dl [link]
now think this with multiple links
is it possible to do something like this
youtube-dl [link]
then i interrupted it with ctrl +i ( it can be anything else too interrupt it )
then youtube-dl shows
forcing youtube-dl to pause , saved as session-1
after 5 hours i resumed it by entering
youtube-dl -resume -session-1
youtube-dl output : resuming session-1 ,