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.4.tar.gz (10.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fdown_api-0.0.4-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fdown_api-0.0.4.tar.gz
  • Upload date:
  • Size: 10.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for fdown_api-0.0.4.tar.gz
Algorithm Hash digest
SHA256 41deb1c96e574d2e69b6b75654c527dba16b0cbfcda1fda7ad8da75d628c06b2
MD5 5468d1338d9af3a04c6386599cd94aa9
BLAKE2b-256 cc1779d49bae305c2b729c9429c30074740335b71b65372eee251ee82b258866

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fdown_api-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 9.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.15

File hashes

Hashes for fdown_api-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 25855f87de90340c91094dcbcea1224054c467564eba255efb830d75f1c1eb87
MD5 be908b68f60bf024e9a28ed9f0bc4a69
BLAKE2b-256 8b072e12cd2de5b9fee58b780e03d8fc657ceddce364f7c7c2d8f8c97e20b333

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page