Git Product home page Git Product logo

facebook-downloader's Introduction

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

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

Buy Me A Coffee

Your support will be much appreciated!

facebook-downloader's People

Contributors

rly0nheart avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.