A Facebook video information scraper by Kehem IT
Project description
Facebook Scraper
A Python package to scrape video information from Facebook.
Installation
pip install facebook-scraper
Usage
fb-scraper --url "https://www.facebook.com/watch/?v=971981951549911"
Build the Package
# Install build tools if not already installed
pip install --upgrade pip setuptools wheel
# Navigate to the facebook-scraper directory
cd facebook-scraper
# Build the package
python setup.py sdist bdist_wheel
Install Locally (Optional)
# Install twine if not already installed
pip install twine
# Upload to PyPI (you'll need a PyPI account)
twine upload dist/*
Usage After Installation
# Run directly
fb-scraper --url "https://www.facebook.com/watch/?v=971981951549911"
# Or use in Python
from facebook_scraper import FacebookVideoScraper
scraper = FacebookVideoScraper()
info = scraper.get_video_info("https://www.facebook.com/watch/?v=971981951549911")
print(info.to_dict())
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
fb_video-0.1.0.tar.gz
(4.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fb_video-0.1.0.tar.gz.
File metadata
- Download URL: fb_video-0.1.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bbcaafdfbc0be7f92fcf82da3dfbb6f502e060980957c7a994ba31eedc33dd2
|
|
| MD5 |
702b6128edfb3cd96a8dc800a338face
|
|
| BLAKE2b-256 |
a2b303e43e8e003a338b83c4db6228a087909912bf0da1af12797eb4371c312e
|
File details
Details for the file fb_video-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fb_video-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2ccff4b9cc85bef4791226dc09403c1454ee16399ef4956f7133c2de674513b
|
|
| MD5 |
893965d1261686346579c11000b67bb5
|
|
| BLAKE2b-256 |
9dde70b800625c132ab9732db84de7c6463fbc21f17c066ae6487c8719f37875
|