Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return completed flag for use in script? #12022

Closed
FredLackeyOfficial opened this issue Feb 8, 2017 · 1 comment
Closed

Return completed flag for use in script? #12022

FredLackeyOfficial opened this issue Feb 8, 2017 · 1 comment

Comments

@FredLackeyOfficial
Copy link

@FredLackeyOfficial FredLackeyOfficial commented Feb 8, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.02.07. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.02.07

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


Description of your issue, suggested solution and other information

Is there a way for youtube-dl to load the manifest of videos to download and return a status or code (especially in quiet mode) to indicate if all of the videos have been downloaded or not? I would like to use this status in a script to determine if work still needs to be done. For example, if downloading an entire Youtube channel or Pluralsight course.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 8, 2017

What signal are you talking about? When you run youtube-dl either as a process or a python script using YoutubeDL.download or so, it won't return until the work is done (assuming you you pass ignore errors option). When it returns then it's done - that is your signal.

@dstftw dstftw closed this Feb 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.