1
0
Download all new videos from your YouTube subscriptions
This repository has been archived on 2023-12-27. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2020-08-03 13:42:23 -07:00
.gitignore Add example script for building and running the container 2019-11-07 06:49:31 -08:00
build.sh Add example script for building and running the container 2019-11-07 06:49:31 -08:00
dl.py Move subs.xml and last.txt into configs dir 2019-11-07 06:45:49 -08:00
Dockerfile Update to latest version of alpine, add ffmpeg 2020-08-03 13:42:23 -07:00
LICENSE Create LICENSE 2017-03-09 15:22:41 -05:00
README.md Updated README.md with Docker instructions 2019-11-07 06:53:12 -08:00
requirements.txt Add dockerfile and fix dependencies 2019-11-07 06:44:36 -08:00
run.example.sh Add example script for building and running the container 2019-11-07 06:49:31 -08:00

youtube-dl-subscriptions

Downloads all new videos from your YouTube subscription feeds.

Requirements

This script requires python3. Additional dependencies can be found in the requirements.txt file.

Usage

Docker

git clone https://github.com/tgrosinger/youtube-dl-subscriptions

./build.sh
cp run.example.sh run.sh

# Make necessary changes in run.sh

./run.sh

Running Locally

If you do not want to use Docker, you can instead setup the dependencies to run this script from your locally installed python.

Clone the repository

git clone https://github.com/tgrosinger/youtube-dl-subscriptions

Install the requirements

pip install -r requirements.txt

Download your YouTube's subscriptions OPML file by visiting this URL. Save the file as subs.xml into the cloned repository folder.

You can then run the script

python3 dl.py

A last.txt file will be created in order to avoid downloading the same videos on the next run.

Credits

Based on the work from mewfree and pwcazenave.