A program for downloading videos from facebook, given a video url
Install from PyPI
pip install facebook-downloader
You will need to have the FireFox browser installed on your pc (for the PyPI Package)
The program is dependent on selenium, so in order to run it, you will have to download and properly setup geckodriver (setup instructions available below)
** Pull the image**
docker pull rly0nheart/facebookdl:facebookdl
1. Go to the geckodriver releases page. Find the latest version of the driver for your platform and download it
2. Extract the downloaded file
tar -xvzf geckodriver*
3. Add geckodriver to your system path
export PATH=$PATH:/path/to/downloaded/geckodriver
If you encounter issues with the above commands, then you should run them as root
1. Go to the geckodriver releases page. Find the geckodriver.exe binary for your platform and download it
2. Move the downloaded executable to C:\Users\yourusername\AppData\Local\Programs\Python\Python310
The numbers on the directory 'Python310' will depend on the version of Python you have
facebook_downloader <video-url>
docker run -it -v $PWD/downloads:/app/downloads facebookdl <facebook_url>
The url format should be as follows; https://www.facebook.com/PageName/videos/VideoID
Flag | Description |
---|---|
-a/--audio | download as audio |
-o/--output | output file name |
If you would like to donate, you could Buy A Coffee for the developer using the button below
Your support will be much appreciated!