Very minimal Facebook downloader written in 28 lines of Python code (not including comments and blank spaces)
# clone the repo
$ git clone https://github.com/sdushantha/facebook-dl.git
# install the requirements
$ pip3 install -r requirements.txt
usage: facebook-dl.py [-h] url [resolution]
Download video in High Definition.
$ python3 facebook-dl.py https://www.facebook.com/nike/videos/10155846581253445/ hd
OR
# Without mentioning the resolution will also download in HD
$ python3 facebook-dl.py https://www.facebook.com/nike/videos/10155846581253445/
Download video in Standard Definition.
$ python3 facebook-dl.py https://www.facebook.com/nike/videos/10155846581253445/ sd
MIT License
Copyright (c) 2018 Siddharth Dushantha