Skip to main content

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

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)

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>

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

Buy Me A Coffee

Your support will be much appreciated!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

facebook-downloader-2022.1.2.0.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

facebook_downloader-2022.1.2.0-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

Details for the file facebook-downloader-2022.1.2.0.tar.gz.

File metadata

File hashes

Hashes for facebook-downloader-2022.1.2.0.tar.gz
Algorithm Hash digest
SHA256 e7efdf3c44d95ebaff4fd86cf2bf0990cbd01c305d585fcca75f63d4411e9662
MD5 44b821cae1d6887698d002d3d2a47a8a
BLAKE2b-256 84a9581484fa7a58faa2a94b7457bb77b37eb831f00ae725c9cc61fe1aa8cc61

See more details on using hashes here.

File details

Details for the file facebook_downloader-2022.1.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for facebook_downloader-2022.1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2c65096c306e10ea97c7243861851646c8162889ed6a5492f0d7def77c4b23d
MD5 1a22e97c11c30a881193233d88ff1e70
BLAKE2b-256 65b6214cb8af45b4db9c87207b3e261caba13b5b69c8a8b5b2564b43d2921ca1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page