From 3b9d04e333bbe23b740bd191ac722d67245d5e32 Mon Sep 17 00:00:00 2001 From: Richard Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Thu, 12 Oct 2023 14:26:47 +0200 Subject: [PATCH] Update README.md --- README.md | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 77f26b4..0329466 100644 --- a/README.md +++ b/README.md @@ -11,23 +11,27 @@ pip install facebook-downloader ``` ### Note -> You will need to have the FireFox browser installed on your pc. +> You will need to have the FireFox browser installed and geckodriver properly set up. -# Docker -## Build the container +## Building from source +**1.** Clone the repository ``` -docker build -t my-facebook-downloader . +git clone https://github.com/bellingcat/facebook-downloader ``` -# Geckodriver setup -> This assumes you've cloned the repository with `git clone https://github.com/bellingcat/facebook-downloader` -## Linux -**1.** Navigate to the facebook-downloader directory +**2.** Navigate to the cloned repository ``` cd facebook-downloader ``` -**2.** Find the `install.sh` script and run it +### Building the Docker container +``` +docker build --tty my-facebook-downloader . +``` + +### Building the facebook-downloader package +#### Linux +Find the `install.sh` script and run it ``` ./install.sh ``` @@ -35,24 +39,21 @@ cd facebook-downloader -## Windows +#### Windows **1.** Navigate to the facebook-downloader directory -``` -cd facebook-downloader -``` - -**2.** Find the `install.ps1` script and run it +Find the `install.ps1` script and run it ``` .\install.ps1 ``` > The installation scripts will download and setup geckodriver, then install **facebook-downloader**. # Usage +## Package ``` facebook_downloader ``` -# Docker +## Docker ``` docker run --tty --volume $PWD/downloads:/app/downloads my-facebook-downloader ```