Skip to main content

Unofficial Python wrapper for fdown.net

Project description

fzdown-api

Python version Python Test License PyPi Latest release release date Black Python-publish Downloads Downloads

Download facebook videos with ease.

Installation

$ pip install fdown-api

[!NOTE] For CLI to work you have to install fdown-api along with its cli-dependencies: $ pip install fdown-api[cli]

Alternatively, you can download standalone executable for your system from here.

Usage

Developers

from fdown_api import Fdown

f = Fdown()
video_links = f.get_links(
    "https://www.facebook.com/reel/8365833600105776\?mibextid\=rS40aB7S9Ucbxw6v"
)
saved_to = f.download_video(video_links)
print(saved_to)
# Will show download progress
"""
3 MB ███████████████████                          43%|
"""

CLI

$ python -m fdown_api <facebook-video-url>

$ fdown --help
usage: fdown [-h] [-d PATH] [-o PATH] [-q normal|hd] [-t TIMEOUT]
             [-c chunk-size] [--resume] [--quiet] [--version]
             url

Download Facebook videos seamlessly.

positional arguments:
  url                   Link to the target facebook video

options:
  -h, --help            show this help message and exit
  -d, --dir PATH        Directory for saving the video to -
                        /home/smartwa/git/smartwa/fdown-api
  -o, --output PATH     Filename under which to save the video to - random
  -q, --quality normal|hd
                        Video download quality - hd
  -t, --timeout TIMEOUT
                        Http request timeout in seconds - 20
  -c, --chunk-size chunk-size
                        Chunk-size for downloading files in KB - 512
  --resume              Resume an incomplete download - False
  --quiet               Do not stdout any informational messages - False
  --version             show program's version number and exit

This script has no official relation with fdown.net.

Disclaimer

This repository contains an unofficial Python wrapper for fdown.net. It is not affiliated with or endorsed by the official fdown.net service or its developers. This wrapper is intended for personal use and education only. The author(s) of this repository are not responsible for any misuse of this code or any damages caused by its use.

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

fdown_api-0.0.2.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

fdown_api-0.0.2-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file fdown_api-0.0.2.tar.gz.

File metadata

  • Download URL: fdown_api-0.0.2.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for fdown_api-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7c13e1607f5530231202b5e7df074bb2bbe3f6d01158cf214587e09bf15bc7d8
MD5 6ba3319478b5bc3d578b737255106642
BLAKE2b-256 d4f787f0ebfb89e1a00de80278c9f4756ba4da4b348d3330d35d55af55604e79

See more details on using hashes here.

File details

Details for the file fdown_api-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: fdown_api-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for fdown_api-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c2a04fe22193cae0a31a6861d3d37710b265d727e4adb89edba0e56b56d5dbc3
MD5 86ea67a5d980c882879a91603610b7cb
BLAKE2b-256 e29e63e1413773a49191fc6bc071c39b0fd313a3e0fc4e0eb0906df693ce6141

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