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

Subscription mode - Continuously download new videos by running as a deamon #2741

Open
viktorlindgren opened this issue Apr 13, 2014 · 3 comments

Comments

@viktorlindgren
Copy link

@viktorlindgren viktorlindgren commented Apr 13, 2014

Hi

Problem description:
I have scheduled to periodically run the youtube-dl command to download the latest videos from a specific user. This is combined with --download-archive to not download already downloaded videos. If the user has uploaded many videos through time, this can take long time.

Request:
Youtube-dl should be able to make this more efficent by only checking the new videos once and running as a deamon.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Apr 13, 2014

I thinks this is a duplicate of #713.

@viktorlindgren
Copy link
Author

@viktorlindgren viktorlindgren commented Apr 13, 2014

As this seem to cause to much work, I have some suggestions that should be simpler to implement.

The --dateafter option should stop searching after that date has passed since anyway the newest is always first.
Note that this should still work with the --download-archive option. Currently I receive the message the video has already been recorded in archive instead of the date is not in range.

Someway to deal with the "Downloading video ids 51 - 101" so it don't download all 2000... Stop when an ID in the download-archive(the last in file is the newest) is found or when the date has passed.

Another workaround would be it relaunch itself with the same parameters again after it has slept for some time. The cli command will not return to the prompt ever.

@snipem
Copy link
Contributor

@snipem snipem commented Oct 16, 2014

I've worked on something similar to this: https://github.com/snipem/commute-tube

It is not exactly a deamon but a layer around youtube_dl for continous downloading. I trigger it by Jenkins at night.

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
3 participants
You can’t perform that action at this time.