1
0
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.
youtube-dl-subscriptions/README.md

52 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2015-05-11 21:22:27 -07:00
# youtube-dl-subscriptions
2015-05-11 21:22:27 -07:00
Downloads all new videos from your YouTube subscription feeds.
2018-02-07 08:44:40 -08:00
## 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](https://www.youtube.com/subscription_manager?action_takeout=1). Save the file as `subs.xml` into the cloned repository folder.
You can then run the script
2015-05-11 21:22:27 -07:00
python3 dl.py
2018-02-07 08:44:40 -08:00
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](https://github.com/mewfree/youtube-dl-subscriptions/) and
[pwcazenave](https://github.com/pwcazenave/youtube-dl-subscriptions).