From cb2150df2041d38b7485415cc0e4c79c19408636 Mon Sep 17 00:00:00 2001 From: James Bunton Date: Mon, 13 Mar 2017 13:18:13 +1100 Subject: [PATCH] Improved installation instructions in README --- README.md | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3cd618a..5e59ef0 100644 --- a/README.md +++ b/README.md @@ -12,11 +12,11 @@ WebDL is a set of Python scripts to grab video from online Free To Air Australia * `autograbber.py` can write to multiple directories, previous command line args are still supported. -## Installation +## Installation using pip Install the following packages using your package manager: -* Python 3.2+ +* Python 3.2+ (including dev package) * ffmpeg or libav-tools Clone the WebDL repository: @@ -32,6 +32,28 @@ virtualenv --python python3 .virtualenv pip install -r requirements.txt ``` +Whenever you want to run WebDL you must source the `.virtualenv/bin/activate` script from your shell. + + +## Installation on Debian/Ubuntu + +Install Python 3 and needed libraries: +``` +apt-get install python3 python3-lxml python3-requests python3-requests-cache +``` + + +Install Livestreamer and PyCrypto. Ubuntu packages this as Python 2: +``` +apt-get install livestreamer python-crypto +``` + + +Install ffmpeg: +``` +apt-get install ffmpeg +``` + ## Interactive usage (grabber.py) You can run WebDL interactively to browse categories and episode lists and download TV episodes. -- 2.39.2