/facebook-dl

📼 Very minimal Facebook downloader written in 28 lines of Python code (not including comments and blank spaces)

Primary LanguagePythonMIT LicenseMIT

facebook-dl

Very minimal Facebook downloader written in 28 lines of Python code (not including comments and blank spaces)

Support me!

Installation

# clone the repo
$ git clone https://github.com/sdushantha/facebook-dl.git

# install the requirements
$ pip3 install -r requirements.txt

Usage

usage: facebook-dl.py [-h] url [resolution]

Download video in High Definition.

$ python3 facebook-dl.py https://www.facebook.com/McLaren.Racing/videos/10155088130291413 hd

OR

# Without mentioning the resolution will also download in HD
$ python3 facebook-dl.py https://www.facebook.com/McLaren.Racing/videos/10155088130291413

Download video in Standard Definition.

$ python3 facebook-dl.py https://www.facebook.com/McLaren.Racing/videos/10155088130291413 sd

License

MIT License

Copyright (c) 2018 Siddharth Dushantha