Skip to content

bellingcat/facebook-downloader

Repository files navigation

Facebook Downloader

A program for downloading videos from Facebook, given a video url

Upload Python Package CodeQL

Installation

Install from PyPI

pip install facebook-downloader

You will need to have the FireFox browser installed and geckodriver properly set up.

Building from source

1. Clone the repository

git clone https://github.com/bellingcat/facebook-downloader

2. Navigate to the cloned repository

cd facebook-downloader

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

This assumes the script was already made executable with the chmod +x uninstall.sh command.

Windows

1. Navigate to the facebook-downloader directory 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 <video-url>

Docker

 docker run --tty --volume $PWD/downloads:/app/downloads my-facebook-downloader <facebook_video_url>

Optional Arguments

Flag Description
-a/--audio download as audio
-o/--output output file name

Donations

If you would like to donate, you could Buy A Coffee for the developer using the button below

Your support will be much appreciated!