X-Git-Url: https://code.delx.au/webdl/blobdiff_plain/cb2150df2041d38b7485415cc0e4c79c19408636..c79961c5fd06ddf7cc7ab5d7ee1e8fc8a464a8f1:/README.md diff --git a/README.md b/README.md index 5e59ef0..8ee457c 100644 --- a/README.md +++ b/README.md @@ -42,11 +42,10 @@ Install Python 3 and needed libraries: apt-get install python3 python3-lxml python3-requests python3-requests-cache ``` +You must also install Streamlink, or if it unavailable, the older Livestreamer. Depending on the age of your distro you'll need either: -Install Livestreamer and PyCrypto. Ubuntu packages this as Python 2: -``` -apt-get install livestreamer python-crypto -``` +- `apt-get install streamlink` +- `apt-get install livestreamer python-crypto` Install ffmpeg: @@ -93,11 +92,11 @@ The bolded parts are what you type. Note that you can go back on any screen by t ## Cron scripted usage (autograbber.py) -You can schedule a regular download of your favourite shows. +You can schedule a regular download of your favourite shows. This example uses `chronic` from `moreutils`. ``` # m h dom mon dow command - 0 1 * * * ./autograbber.py /videos/ABC4Kids /videos/Insight + 0 1 * * * timeout 6h chronic $HOME/webdl/autograbber-cron.sh /videos/ABC4Kids /videos/Insight ``` Each of these directories should contain a `.patterns.txt` with shell-style globs: