From 6dd1f0daa6fce6d2a1d5dee663bb144cf5c3bba6 Mon Sep 17 00:00:00 2001 From: DavidM Date: Mon, 28 Jan 2019 12:39:14 +0100 Subject: [PATCH 1/2] created requirements.txt file allows easier installation of dependancies via pip install -r requirements.txt --- requirements.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 requirements.txt diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..f7657c1 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +requests +beautifulSoup4 +urllib From 0c61051483fe77301388e42822694cc615321860 Mon Sep 17 00:00:00 2001 From: DavidM42 Date: Mon, 28 Jan 2019 12:49:52 +0100 Subject: [PATCH 2/2] changed readme to accomodate requirements.txt change removed urllib from requirements because comes pre installed --- readme.md | 6 +++++- requirements.txt | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index de095b3..71fe638 100644 --- a/readme.md +++ b/readme.md @@ -34,10 +34,14 @@ Prerequisites The script uses python-requests and BeautifulSoup4. +Ìnstall all needed libraries via one command +``` +pip install -r requirements.txt +``` +or each library seperately ``` pip install requests pip install beautifulSoup4 -pip install urllib ``` Configuration diff --git a/requirements.txt b/requirements.txt index f7657c1..9a7724c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,2 @@ requests beautifulSoup4 -urllib