# 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
```python
from FacebookDownloader import FacebookVideoDownloader as FVD
```
Calling module and Initializing Class
```python
video_url = 'https://www.facebook.com/facebook/videos/10153231379946729/'
instance = FVD.FacebookVideoDownloader('https://www.facebook.com/facebook/videos/10153231379946729/')
```
Getting Video Title
```python
title = instance.get_title()
```
**instance.get_title()** returns a string
Getting Video URL
```python
streams = instance.get_streams()
```
**instance.get_streams()** returns json response
```json
{
"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
```python
streams = instance.download()
```
**instance.download()** downloads the available and best quality video
Raw data
{
"_id": null,
"home_page": "",
"name": "FVD",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,facebook,video,downloader,facebook video downloader,downlaod facebook videos",
"author": "Razi Ahmed Iqbal",
"author_email": "<raziahmediqbal@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/bb/25/c209112d669ee495d6bfc0b163cb3a1e9cd9a31f98820817f58ba4a8a96e/FVD-1.0.6.tar.gz",
"platform": null,
"description": "\n# Facebook Video Downloader\n\nUnder construction! Not ready for use yet! Currently experimenting and planning!\n\nDeveloped by Razi Ahmed Iqbal (c) 2023\n\n## How To Install\n pip install FVD\n## Usage\n```python\nfrom FacebookDownloader import FacebookVideoDownloader as FVD\n```\nCalling module and Initializing Class\n```python\nvideo_url = 'https://www.facebook.com/facebook/videos/10153231379946729/'\ninstance = FVD.FacebookVideoDownloader('https://www.facebook.com/facebook/videos/10153231379946729/')\n```\nGetting Video Title\n```python\ntitle = instance.get_title()\n```\n**instance.get_title()** returns a string\n\nGetting Video URL\n```python\nstreams = instance.get_streams()\n```\n**instance.get_streams()** returns json response \n\n```json\n{\n \"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\",\n \"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\"\n}\n```\n\nDirectly Downloading Video in the Directory\n```python\nstreams = instance.download()\n```\n**instance.download()** downloads the available and best quality video\n",
"bugtrack_url": null,
"license": "",
"summary": "Facebook Video Downloading via Python Package",
"version": "1.0.6",
"project_urls": null,
"split_keywords": [
"python",
"facebook",
"video",
"downloader",
"facebook video downloader",
"downlaod facebook videos"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "593a145747ee8fd49c9b21d3c49533d53415291bf6b2b3c58e84558de34d0d5f",
"md5": "df48d43a0b692a75decb36e8e554b57c",
"sha256": "01476ecbe7f1b4913b8f9c5f491f4a6f3899cff74c140a8ab278da42c8c0f450"
},
"downloads": -1,
"filename": "FVD-1.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "df48d43a0b692a75decb36e8e554b57c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3571,
"upload_time": "2023-08-26T15:53:23",
"upload_time_iso_8601": "2023-08-26T15:53:23.798892Z",
"url": "https://files.pythonhosted.org/packages/59/3a/145747ee8fd49c9b21d3c49533d53415291bf6b2b3c58e84558de34d0d5f/FVD-1.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bb25c209112d669ee495d6bfc0b163cb3a1e9cd9a31f98820817f58ba4a8a96e",
"md5": "871b2c4993d23a564a399963fabfd738",
"sha256": "4abc34d72e52761c567cdb5eeacec4e49e93ab1d149edcb45f64b60e1fbbed68"
},
"downloads": -1,
"filename": "FVD-1.0.6.tar.gz",
"has_sig": false,
"md5_digest": "871b2c4993d23a564a399963fabfd738",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3403,
"upload_time": "2023-08-26T15:53:25",
"upload_time_iso_8601": "2023-08-26T15:53:25.180484Z",
"url": "https://files.pythonhosted.org/packages/bb/25/c209112d669ee495d6bfc0b163cb3a1e9cd9a31f98820817f58ba4a8a96e/FVD-1.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-08-26 15:53:25",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "fvd"
}