A quick tool i made to work with ytdlrc to hook into IFTTT and download videos from a youtube "generated playlist" (IE. Liked Videos).
At the time of making this youtube has a broken UI (Polymer UI) for youtubes privacy settings page, preventing you from checking your liked videos playlist from private to public, this has been broken for at least 6 months now and youtube automatically switched my playlist from public to private without warning or alerting me so this workaround is necessary.
Set up IFTTT to link into youtubes system using your google account. IFTTT handles all the oauth stuff in the background which means less work for me. Then set up a If new like Then POST to webhook like so.
Set up a URL and you are good to go.
Modify and copy nginx/nginx.conf for your needs, it will reverse proxy traffic to your express app.
Uses a python script and youtube-dl to replace ytdlrc because i am not using rsync.
source bin/activate
install required packages. youtube_dl is tested to work with version 2020.9.20.
pip install -r requirements.txt
Then edit ytdldb.py and set the required file locations and run the script.
- Support playlists and videos
- Support likes playlist
- Add paths to ENV so it works better with systemd (investigate how to access env in python too)
- Support history playlist
- Support tags (tag occurrence ranking)