Facebook video downloader
Project description
Facebook Downloader
A program for downloading videos from Facebook, given a video url
Installation
Install from PyPI
pip install facebook-downloader
Note
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)
Docker
Pull the image
docker pull rly0nheart/facebook-downloader:facebook-downloader
Geckodriver setup
Linux
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
Note
If you encounter issues with the above commands, then you should run them as root
Windows
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
Note
The numbers on the directory 'Python310' will depend on the version of Python you have
Mac OS
Usage
facebook_downloader <video-url>
Docker
docker run -it -v $PWD/downloads:/app/downloads facebook-downloader <facebook_url>
Note
The url format should be as follows; https://www.facebook.com/PageName/videos/VideoID
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file facebook-downloader-1.3.1.tar.gz
.
File metadata
- Download URL: facebook-downloader-1.3.1.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c6f697ef4b72977e273f28e7306e7ff6d0ee38ef977871fedd626b718cf45da |
|
MD5 | 978227e0398522d78cefa9e325444e6b |
|
BLAKE2b-256 | cb22e13d813c57eb3eff27e18452f3e0fabdb8d6c714dbac682af5d7690c5b87 |
File details
Details for the file facebook_downloader-1.3.1-py3-none-any.whl
.
File metadata
- Download URL: facebook_downloader-1.3.1-py3-none-any.whl
- Upload date:
- Size: 17.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c4f4c66980de3f9a9c2239c5ab477b116cb86ab48ad6139395f2782f1a574bd |
|
MD5 | eefac281584d6353c8f20f3bf52b21b4 |
|
BLAKE2b-256 | 5e9f717a6b8db70d9054d1ff38073defe1ffba15dc64a1833c4454e65315f5be |