{"id":34032374,"url":"https://github.com/lesander/fbgs","last_synced_at":"2026-05-25T20:37:58.578Z","repository":{"id":57428781,"uuid":"334443521","full_name":"lesander/fbgs","owner":"lesander","description":"Python and selenium based (mobile) Facebook groups scraper, independent of obfuscated css selectors.","archived":false,"fork":false,"pushed_at":"2021-01-31T13:09:33.000Z","size":27,"stargazers_count":11,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-17T03:12:49.801Z","etag":null,"topics":["facebook-forensics","facebook-group-scraper","facebook-groups","facebook-scraper","osint","python3","selenium"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lesander.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-01-30T15:20:37.000Z","updated_at":"2024-11-09T18:48:46.000Z","dependencies_parsed_at":"2022-08-26T04:01:36.875Z","dependency_job_id":null,"html_url":"https://github.com/lesander/fbgs","commit_stats":null,"previous_names":["lesander/facebook-group-scraper"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lesander/fbgs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesander%2Ffbgs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesander%2Ffbgs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesander%2Ffbgs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesander%2Ffbgs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lesander","download_url":"https://codeload.github.com/lesander/fbgs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lesander%2Ffbgs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28010554,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["facebook-forensics","facebook-group-scraper","facebook-groups","facebook-scraper","osint","python3","selenium"],"created_at":"2025-12-13T18:45:43.583Z","updated_at":"2025-12-24T22:14:03.749Z","avatar_url":"https://github.com/lesander.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Facebook group scraper\n\nA simple selenium-dependent python scraper for Facebook groups.\n\nRequirements:\n- Python 3.6 or newer\n- Selenium (automatically installed)\n\n## Installing\nInstall via pypi: [`fbgs`](https://pypi.org/project/fbgs/)\n```shell\n# pypi\npip3 install fbgs\n\n# local\ngit clone https://github.com/lesander/facebook-group-scraper.git\ncd facebook-group-scraper/\npip3 install -r requirements.txt\n```\n\n## Usage\n\nCli usage:\n```shell\n# local \u0026 pypi\npython3 -m fbgs \\\n--username user@example.com \\\n--password \"example-password\" \\\n--url https://m.facebook.com/groups/group-name \\\n--output ./path/for/output.json \\\n--no-shell  # toggle to disable default selenium interactive prompt\n```\n\nProgrammatic usage:\n```python\nfrom fbgs import FacebookScraper\nfrom fbgs.exceptions import ScraperException\ntry:\n    scraper = FacebookScraper(\n        username=\"user@example.com\", password=\"example-password\")\n    scraper.login()\n    group = scraper.scrape_group(url=\"https://m.facebook.com/groups/group-name\", out=\"output-example.json\")\n    \n    # results are stored in group\n    print(group.name, len(group.posts))\n    \n    # you can start a live interaction with the selenium driver\n    scraper.interactive()\nexcept ScraperException as e:\n    print(f'ScraperException: {e}')\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesander%2Ffbgs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flesander%2Ffbgs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flesander%2Ffbgs/lists"}