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

Uploaded Source

Built Distribution

fdown_api-0.0.3-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fdown_api-0.0.3.tar.gz
  • Upload date:
  • Size: 9.9 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.3.tar.gz
Algorithm Hash digest
SHA256 df7c33e0c612d72eface81dc854740875838fed4802d21b45ef88d1aa736459f
MD5 8d6c4f18a6eb06c745f0f44505ec50af
BLAKE2b-256 323f5a36ec48d90f0307457d1e2e31e25645c850cf65d3d6a2c8223905af3942

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fdown_api-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.9 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8fa9a64fdba7944f1a6153c085a4f1c737aad55891c321aeb85fb7af0744ddab
MD5 ecbe6b43a1968c48f3729a90c3791233
BLAKE2b-256 d3a3893849644661770464465fd793ad6d2274f45b552def3b2bd421f2767b74

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