4 ms·
What does that have to do with youtube-dl? (Sorry it's been like 5 years since I used it, I don't remember that being required)
by dmoy 6y ago
What does that have to do with youtube-dl? (Sorry it's been like 5 years since I used it, I don't remember that being required)
- dleslie 6y agoIt allows one to download private videos that your account can access.
- joshspankit 6y agoSuch as: - I have a script that downloads my liked videos (in case they get deleted, which I’ve found out happens a fair bit) - I also have a script to download my watch later videos (for sync to devices without YouTube Premium/Red/whatever)
- mattl 6y agoWould you share those scripts?
- joshspankit 6y agoSure: ```bash # !/bin/sh cd /media/youtube-dl docker-compose run --rm youtube-dl -v --cookies /etc/youtube-dl.cookies.txt https://www.youtube.com/playlist?list=INSERTYOUROWNWATCHLATERPLAYLISTIDHERE https://www.youtube.com/playlist?list=INSERTYOUROWNWATCHLATE... -o "watchlater/%(title)s-%(id)s.%(ext)s" --ignore-errors ``` That’s a bash script that runs via cron. One thing to note: this uses the cookies from a logged-in browser session because at some point YouTube blocked password log in from youtube-dl. This was is a bit of a pain to set up, and I wish it was not the case, but it mostly works.
- dmoy 6y agoSo the theory is this has nothing to do with security, but is only used to break private video downloading of youtube-dl?
- mulmen 6y agoThere's an ocean between required and useful.