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.
Synchronising an entire YouTube account #3659
Comments
|
For syncronize just run youtube-dl as a schedule task every hour. For sync your entry profile, just append every playlisy you have. I append also the archive option, so videos will be downloaded only once. For example: youtube-dl -o "/tmp/music/%(title)s.%(ext)s" --extract-audio --audio-format mp3 --audio-quality 0 --download-archive ~/.cache/youtube-dl/archive -q http://www.youtube.com/playlist1 http://www.youtube.com/playlist2 |
|
Thanks for your advice! I created the following function:
However, it fails with the following error:
I checked the playlist URL which is definitely correct. Any ideas? |
|
@orschiro It looks like you're using zsh, and zsh wants to match a file for everything with a question mark in it by default. Escaping the question mark or putting the URLs in quotes should be sufficient. Try
I am closing this issue now since your original problem seems to have been solved. Feel free to open an issue to request new features, for example a way to download all playlists a user has created. Please make sure to reread our bug reporting instructions, in particular the section about the number of different problems mentioned in a single issue. |
|
Thanks for your help! Indeed I am using zsh and your fix works.
What do you think of such a feature? A useful addition that is worth investigating? Personally I would very much be in favour of such an option to download all public playlists of a user. If you think so too, then I will open a new bug report for it. :) |
|
I don't think I'd personnally use it, but then that could be said about probably 90%+ of all the websites youtube-dl supports. So if you have interest, file a report (or even better, a pull request). |
Hi there,
I would like to hear your opinion on the following use case for youtube-dl.
I want to keep my entire YouTube account synchronised offline in a local folder on my machine. That should include all my videos marked as favourite, later or categorised in playlists as well as uploaded videos.
I am aware of the following content:
youtube-dl -citw ytuser:<username>However, this does only download the videos uploaded of this user but not his playlists etc.
Thus, do you have any suggestions how to keep an entire YouTube account synchronised?
Thanks for your advice!