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.14.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

facebook_simple_scraper-0.1.14-py3-none-any.whl (24.5 kB view details)

Uploaded Python 3

File details

Details for the file facebook_simple_scraper-0.1.14.tar.gz.

File metadata

File hashes

Hashes for facebook_simple_scraper-0.1.14.tar.gz
Algorithm Hash digest
SHA256 829b93a52e6d5a36ef2dd3309d4c51090f1e70b506e8e6f49c374d550140931a
MD5 050567560f166dd32a4d0f1999db44cb
BLAKE2b-256 c7b22ad0e2cd3410c6e09d2702357aa690b1b4e9f20d749bef05bfec4685686d

See more details on using hashes here.

File details

Details for the file facebook_simple_scraper-0.1.14-py3-none-any.whl.

File metadata

File hashes

Hashes for facebook_simple_scraper-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 df978083dd3ff531a5e7db328940d703c207a0b05a6d9860f3fd94bbf6b6cc85
MD5 bacfce5152d4ccaa505b716ab904ca4c
BLAKE2b-256 c9322b35c86ceac67ec13103ac71b6c8c2ef03f249107e57a8eff9e4f77c77f2

See more details on using hashes here.

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