facebook-simple-scraper


Namefacebook-simple-scraper JSON
Version 0.1.14 PyPI version JSON
download
home_pagehttps://github.com/Eitol/facebook_simple_scraper
SummaryA simple scraper for Facebook
upload_time2024-06-06 21:13:47
maintainerNone
docs_urlNone
authorHector Oliveros
requires_python>=3.10
licenseMIT
keywords
VCS
bugtrack_url
requirements pydantic requests beautifulsoup4 python-dateutil dateparser
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## 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!

```python
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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Eitol/facebook_simple_scraper",
    "name": "facebook-simple-scraper",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": null,
    "author": "Hector Oliveros",
    "author_email": "hector.oliveros.leon@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c7/b2/2ad0e2cd3410c6e09d2702357aa690b1b4e9f20d749bef05bfec4685686d/facebook_simple_scraper-0.1.14.tar.gz",
    "platform": null,
    "description": "## Facebook Simple Scraper\n\nWelcome 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.\n \n### \ud83d\ude80 Features\n\n- Post Scraping: Scrapes individual posts from a Facebook page, capturing all the details that accompany the post.\n- Comment Scraping: Fetches the comments under each post. This can provide you with valuable audience feedback and participation related to each post.\n\n \n### \ud83d\udcc4Usage\n\nUsing our scraping tool is extremely simple. After setting up your environment correctly, you can start scraping right away!\n\n```python\nuser, password = \"your_user_email\", \"your_password\"\nopts = ScraperOptions(\n    credentials=[LoginCredentials(\n        username=user,\n        password=password\n    )],\n    max_comments_per_post=10,\n    sleep_time_min=2,\n    sleep_time_max=5,\n    stop_conditions=[StopAfterNPosts(5)],\n)\nscraper = Scraper(opts)\npost = scraper.get_posts(\"NintendoLatAm\")\nprint(list(post))\n```\n \n\ud83d\udd12 License\nMIT License (Do whatever you want with this code, but don't blame me if something goes wrong)\n \nWe hope you find our Facebook Post Scraper helpful! Your feedback and contributions are always welcome. Enjoy scraping!\n\n \nThe Facebook Post Scraper Team\n\u2757 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.\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A simple scraper for Facebook",
    "version": "0.1.14",
    "project_urls": {
        "Homepage": "https://github.com/Eitol/facebook_simple_scraper"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c9322b35c86ceac67ec13103ac71b6c8c2ef03f249107e57a8eff9e4f77c77f2",
                "md5": "bacfce5152d4ccaa505b716ab904ca4c",
                "sha256": "df978083dd3ff531a5e7db328940d703c207a0b05a6d9860f3fd94bbf6b6cc85"
            },
            "downloads": -1,
            "filename": "facebook_simple_scraper-0.1.14-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "bacfce5152d4ccaa505b716ab904ca4c",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 24459,
            "upload_time": "2024-06-06T21:13:45",
            "upload_time_iso_8601": "2024-06-06T21:13:45.380139Z",
            "url": "https://files.pythonhosted.org/packages/c9/32/2b35c86ceac67ec13103ac71b6c8c2ef03f249107e57a8eff9e4f77c77f2/facebook_simple_scraper-0.1.14-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c7b22ad0e2cd3410c6e09d2702357aa690b1b4e9f20d749bef05bfec4685686d",
                "md5": "050567560f166dd32a4d0f1999db44cb",
                "sha256": "829b93a52e6d5a36ef2dd3309d4c51090f1e70b506e8e6f49c374d550140931a"
            },
            "downloads": -1,
            "filename": "facebook_simple_scraper-0.1.14.tar.gz",
            "has_sig": false,
            "md5_digest": "050567560f166dd32a4d0f1999db44cb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 18916,
            "upload_time": "2024-06-06T21:13:47",
            "upload_time_iso_8601": "2024-06-06T21:13:47.183754Z",
            "url": "https://files.pythonhosted.org/packages/c7/b2/2ad0e2cd3410c6e09d2702357aa690b1b4e9f20d749bef05bfec4685686d/facebook_simple_scraper-0.1.14.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-06-06 21:13:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Eitol",
    "github_project": "facebook_simple_scraper",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "pydantic",
            "specs": [
                [
                    "~=",
                    "2.7.1"
                ]
            ]
        },
        {
            "name": "requests",
            "specs": [
                [
                    "~=",
                    "2.31.0"
                ]
            ]
        },
        {
            "name": "beautifulsoup4",
            "specs": [
                [
                    "~=",
                    "4.12.3"
                ]
            ]
        },
        {
            "name": "python-dateutil",
            "specs": [
                [
                    "~=",
                    "2.9.0.post0"
                ]
            ]
        },
        {
            "name": "dateparser",
            "specs": [
                [
                    "~=",
                    "1.2.0"
                ]
            ]
        }
    ],
    "lcname": "facebook-simple-scraper"
}
        
Elapsed time: 0.24564s