Skip to main content

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)

Uploaded Source

Built Distribution

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

fb_video-0.1.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

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

Hashes for fb_video-0.1.0.tar.gz
Algorithm Hash digest
SHA256 7bbcaafdfbc0be7f92fcf82da3dfbb6f502e060980957c7a994ba31eedc33dd2
MD5 702b6128edfb3cd96a8dc800a338face
BLAKE2b-256 a2b303e43e8e003a338b83c4db6228a087909912bf0da1af12797eb4371c312e

See more details on using hashes here.

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

Hashes for fb_video-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2ccff4b9cc85bef4791226dc09403c1454ee16399ef4956f7133c2de674513b
MD5 893965d1261686346579c11000b67bb5
BLAKE2b-256 9dde70b800625c132ab9732db84de7c6463fbc21f17c066ae6487c8719f37875

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