Skip to main content

Facebook Video Downloading via Python Package

Project description

Facebook Video Downloader

Under construction! Not ready for use yet! Currently experimenting and planning!

Developed by Razi Ahmed Iqbal (c) 2023

How To Install

pip install FVD

Usage

from FacebookDownloader import FacebookVideoDownloader as FVD

Calling module and Initializing Class

video_url = 'https://www.facebook.com/facebook/videos/10153231379946729/'
instance = FVD.FacebookVideoDownloader('https://www.facebook.com/facebook/videos/10153231379946729/')

Getting Video Title

title = instance.get_title()

instance.get_title() returns a string

Getting Video URL

streams = instance.get_streams()

instance.get_streams() returns json response

{
    "sd_url": "https://scontent-cdg4-3.xx.fbcdn.net/v/t42.1790-4/10749875_10153231382106729_1430298193_n.mp4?_nc_cat=111&ccb=1-7&_nc_sid=985c63&efg=eyJ2ZW5jb2RlX3RhZyI6InNkIn0u00253D&_nc_ohc=Vrt1J_cpc68AX86r-bn&_nc_ht=scontent-cdg4-3.xx&oh=00_AfDEV-Td-tKaVdHT7cqC_h0uCQsoLL2SEGa_tu6GjJkVyw&oe=64E2121B",
    "hd_url": "https://scontent-cdg4-2.xx.fbcdn.net/v/t43.1792-4/10435682_10153231382156729_130140491_n.mp4?_nc_cat=103&ccb=1-7&_nc_sid=985c63&efg=eyJ2ZW5jb2RlX3RhZyI6ImhkIn0u00253D&_nc_ohc=ggUWOkt7j8gAX_mEBNj&_nc_ht=scontent-cdg4-2.xx&oh=00_AfBvZcnrk_WDVGt5mzp4BGkHTWOH8_DRUGAPI9H4oLDK2g&oe=64DCECE6"
}

Directly Downloading Video in the Directory

streams = instance.download()

instance.download() downloads the available and best quality video

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

FVD-1.0.6.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

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

FVD-1.0.6-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file FVD-1.0.6.tar.gz.

File metadata

  • Download URL: FVD-1.0.6.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for FVD-1.0.6.tar.gz
Algorithm Hash digest
SHA256 4abc34d72e52761c567cdb5eeacec4e49e93ab1d149edcb45f64b60e1fbbed68
MD5 871b2c4993d23a564a399963fabfd738
BLAKE2b-256 bb25c209112d669ee495d6bfc0b163cb3a1e9cd9a31f98820817f58ba4a8a96e

See more details on using hashes here.

File details

Details for the file FVD-1.0.6-py3-none-any.whl.

File metadata

  • Download URL: FVD-1.0.6-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for FVD-1.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 01476ecbe7f1b4913b8f9c5f491f4a6f3899cff74c140a8ab278da42c8c0f450
MD5 df48d43a0b692a75decb36e8e554b57c
BLAKE2b-256 593a145747ee8fd49c9b21d3c49533d53415291bf6b2b3c58e84558de34d0d5f

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