{"id":19534798,"url":"https://github.com/berecat/selenium_facebook_scraper","last_synced_at":"2025-07-24T15:41:28.563Z","repository":{"id":167023520,"uuid":"558820509","full_name":"berecat/selenium_facebook_scraper","owner":"berecat","description":"A simple python3 script used to download a users's friend list from facebook.","archived":false,"fork":false,"pushed_at":"2023-09-07T20:46:01.000Z","size":13283,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-26T03:46:02.373Z","etag":null,"topics":["automation","crawler","facebook","facebook-scraper","webscraper"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/berecat.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-28T11:22:18.000Z","updated_at":"2023-09-07T20:47:55.000Z","dependencies_parsed_at":"2024-01-12T04:33:17.497Z","dependency_job_id":null,"html_url":"https://github.com/berecat/selenium_facebook_scraper","commit_stats":null,"previous_names":["dreemhai/python-whatsapp","berecat/selenium_facebook_scraper"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/berecat/selenium_facebook_scraper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berecat%2Fselenium_facebook_scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berecat%2Fselenium_facebook_scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berecat%2Fselenium_facebook_scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berecat%2Fselenium_facebook_scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/berecat","download_url":"https://codeload.github.com/berecat/selenium_facebook_scraper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/berecat%2Fselenium_facebook_scraper/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259531428,"owners_count":22872136,"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","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":["automation","crawler","facebook","facebook-scraper","webscraper"],"created_at":"2024-11-11T02:15:36.464Z","updated_at":"2025-06-12T21:12:08.836Z","avatar_url":"https://github.com/berecat.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Python3 Facebook Scraper\n\nThis is a simple python3 script used to download a user's friend list from facebook. The script uses selenium \u0026 Firefox to automate the login process and extract the data from the user's account. All you have to do is to write the email and password and the script will do all the work. Simple!\n\n![Example](example.gif)\n\n\n## Usage\n```\nuser:~$ python3 facebook_scraper.py --help\nusage: facebook_scraper.py [-h] [-v] [-b] [-t TIMEOUT] [-j] [-c] [-s] [-i HTMLPAGE] [-l LOGINFILE]\n\nUse Selenium \u0026 Firefox to automate Facebook login and scrape user's friend list.\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -v, --verbose         Increase verbosity level.\n  -b, --headless        Activate headless mode, run firefox in the background.\n  -t TIMEOUT, --timeout TIMEOUT\n                        Time to wait for elements to load on webpages before giving up. (30s)\n  -j, --json            Export user's friend list in JSON format. (default)\n  -c, --csv             Export user's friend list in CSV format.\n  -s, --html            Export the source html page.\n  -i HTMLPAGE, --import-html HTMLPAGE\n                        Import data from source html page.\n  -l LOGINFILE, --login-data LOGINFILE\n                        Read login data from file.\n\n```\n\n## Requirements\n- Python (3+). [[How to install](https://realpython.com/installing-python/)]\n- BeautifulSoup4 for python3. [[How to install](https://www.crummy.com/software/BeautifulSoup/bs4/doc/)]\n```\npip3 install bs4\n```\n- Selenium for python3. [[How to install](https://selenium-python.readthedocs.io/installation.html)]\n```\npip3 install selenium\n```\n- Firefox webbrowser.   [[Windows](https://support.mozilla.org/en-US/kb/how-download-and-install-firefox-windows), [Linux](https://support.mozilla.org/en-US/kb/install-firefox-linux), [Mac](https://support.mozilla.org/en-US/kb/how-download-and-install-firefox-mac)]\n- Geckodriver for Firefox. [[How to install](https://github.com/mozilla/geckodriver/releases/)]\n\n\n## License\n\nThis project is licensed under the GNU GPLv3 License - check [LICENSE](LICENSE) for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberecat%2Fselenium_facebook_scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fberecat%2Fselenium_facebook_scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fberecat%2Fselenium_facebook_scraper/lists"}