Skip to main content

A simple scraper for Facebook

Project description

Facebook Simple Scraper

Welcome to the Facebook Post Scraper project! Our tool allows you to scrape posts from different Facebook pages, helping you gather crucial information flexibly and efficiently.

🚀 Features

  • Post Scraping: Scrapes individual posts from a Facebook page, capturing all the details that accompany the post.
  • Comment Scraping: Fetches the comments under each post. This can provide you with valuable audience feedback and participation related to each post.

📄Usage

Using our scraping tool is extremely simple. After setting up your environment correctly, you can start scraping right away!

user, password = "your_user_email", "your_password"
opts = ScraperOptions(
    credentials=[LoginCredentials(
        username=user,
        password=password
    )],
    max_comments_per_post=10,
    sleep_time_min=2,
    sleep_time_max=5,
    stop_conditions=[StopAfterNPosts(5)],
)
scraper = Scraper(opts)
post = scraper.get_posts("NintendoLatAm")
print(list(post))

🔒 License MIT License (Do whatever you want with this code, but don't blame me if something goes wrong)

We hope you find our Facebook Post Scraper helpful! Your feedback and contributions are always welcome. Enjoy scraping!

The Facebook Post Scraper Team ❗ Disclaimers: Please be aware of Facebook's terms and conditions pertaining to data scraping. It's your responsibility to use this tool in accordance with those terms.

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

facebook_simple_scraper-0.1.12.tar.gz (18.9 kB view hashes)

Uploaded Source

Built Distribution

facebook_simple_scraper-0.1.12-py3-none-any.whl (24.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page