Skip to main content

Unofficial Python wrapper for fdown.net

Project description

fdown-api

Download facebook videos with ease.

Installation

$ pip install fdown-api[cli]

Usage

Developers

from fdown_api import Fdown

f = Fdown()
video_links = f.get_links(
    "https://www.facebook.com/reel/916344720334368?mibextid=rS40aB7S9Ucbxw6v"
)
saved_to = f.download_video(video_links)
print(saved_to)

CLI

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

$ fdown --help
usage: fdown [-h] [-d DIR] [-o OUTPUT] [-q normal|hd] [-t TIMEOUT]
             [-c chunk-size] [-p PROTOCOL ADDRESS PROTOCOL ADDRESS] [--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 DIR         Directory for saving the video to -
                        /home/smartwa/
  -o, --output OUTPUT   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
  -p, --proxy PROTOCOL ADDRESS PROTOCOL ADDRESS
                        Http request proxy - None
  --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.1.tar.gz (8.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: fdown_api-0.0.1.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.0

File hashes

Hashes for fdown_api-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4cc3f54d298c825cada5be84667eb99f10049699cbe6effc8a670be5d626cca2
MD5 6e3bbac38444b45f70a9c6191c02018e
BLAKE2b-256 98228a0be4bd592ad4c732bd58b957ea49dfd7628401fa55cc81d162e2857231

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