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 hashes)
Built Distribution
FVD-1.0.6-py3-none-any.whl
(3.6 kB
view hashes)