{"id":14987025,"url":"https://github.com/jmgama/whatsapp-scraping","last_synced_at":"2025-08-20T20:32:32.090Z","repository":{"id":50176156,"uuid":"116401224","full_name":"JMGama/WhatsApp-Scraping","owner":"JMGama","description":"Python script to get WhatsApp iformation frrom WhatsApp Web","archived":false,"fork":false,"pushed_at":"2023-10-17T22:03:34.000Z","size":47,"stargazers_count":112,"open_issues_count":3,"forks_count":65,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-07T20:50:01.777Z","etag":null,"topics":["chrome","firefox","hacktoberfest","hacktoberfest-accepted","hacktoberfest-accepted2022","hacktoberfest2022","selenium","whatsapp-web"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JMGama.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":"2018-01-05T15:51:09.000Z","updated_at":"2025-03-08T05:41:05.000Z","dependencies_parsed_at":"2024-09-19T20:00:38.685Z","dependency_job_id":null,"html_url":"https://github.com/JMGama/WhatsApp-Scraping","commit_stats":{"total_commits":36,"total_committers":2,"mean_commits":18.0,"dds":0.08333333333333337,"last_synced_commit":"8411b988c1e690e3be908372e32562adf45277e8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JMGama/WhatsApp-Scraping","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMGama%2FWhatsApp-Scraping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMGama%2FWhatsApp-Scraping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMGama%2FWhatsApp-Scraping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMGama%2FWhatsApp-Scraping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JMGama","download_url":"https://codeload.github.com/JMGama/WhatsApp-Scraping/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JMGama%2FWhatsApp-Scraping/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271378680,"owners_count":24749192,"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-08-20T02:00:09.606Z","response_time":69,"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":["chrome","firefox","hacktoberfest","hacktoberfest-accepted","hacktoberfest-accepted2022","hacktoberfest2022","selenium","whatsapp-web"],"created_at":"2024-09-24T14:13:58.708Z","updated_at":"2025-08-20T20:32:31.799Z","avatar_url":"https://github.com/JMGama.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :speech_balloon: WhatsApp-Scraping\n\nPython script to get WhatsApp information from WhatsApp Web\n\n# Requirements\n\nAll the libraries that we are going to use are in the [requirements.txt](requirements.txt) file.\nYou can install it with PIP in the terminal with:\n\n```\nsudo pip install -r requirements.txt\n```\n\nIn order to make this project work you need to have a profile in your browser where you already scanned the QR with your account then we are going to use that account for launching the Selenium driver.\n\n## Selenium\n\nSelenium requires a driver to interface with the chosen browser. Firefox, for example, requires geckodriver, which needs to be installed before the below examples can be run. Make sure it’s in your PATH, e. g., place it in /usr/bin or /usr/local/bin.\n\nFailure to observe this step will give you an error selenium.common.exceptions.WebDriverException: Message: ‘geckodriver’ executable needs to be in PATH.\n\nOther supported browsers will have their own drivers available. Links to some of the more popular browser drivers follow.\n\n- [Chrome](https://chromedriver.chromium.org/downloads)\n- [Edge](https://developer.microsoft.com/en-us/microsoft-edge/tools/webdriver/)\n- [Firefox](https://github.com/mozilla/geckodriver/releases)\n- [Safari](https://webkit.org/blog/6900/webdriver-support-in-safari-10/)\n\n\u003e For more information you can go to the [Selenium Website](http://selenium-python.readthedocs.io/installation.html) at the installation section.\n\n### Chrome driver\n\n#### Windows\n\nFor Windows we recommend that you download the [Chrome driver](https://chromedriver.chromium.org/downloads) and save it in your chrome directory _(default path: C:\\Program Files (x86)\\Google\\Chrome)_.\n\nIn the requirements.txt file you can set the path to the chrome driver \u003ccode\u003eDRIVER_PATH = C:\\Program Files (x86)\\Google\\Chrome\\chromedriver\u003c/code\u003e. With this configuration the script will know where to find the driver.\n\n# Settings\n\n**AT THIS MOMENT THE PROJECT ONLY WORKS WITH FIREFOX AND CHROME**\n\n## Browser Profile `FIREFOX_PATH`\n\nYou need to setup your configuration in the [settings.txt](settings.txt) file.\nIn this file you need to specify the profile of your browser where you already scan the QR whit your WhatsaApp account\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"450\" height=\"300\" src=\"http://dl1.cbsistatic.com/i/2017/04/26/6431e906-7aa6-4bc7-bcc2-2f6fc8ec6935/68ef88d0940c3ac784e54869b0bdf1bc/imgingest-8720007773569767113.png\"\u003e\n\u003c/p\u003e\n\nFor example we are using the default Firefox profile so we open Firefox and go to https://web.whatsapp.com/ then we scan our QR to login then we can close Firefox and go to search for our profile file that we have in `/home/user/.mozilla/firefox/xxxxxxxx.default`, now that we localized our file we add the direction to our [settings.txt](settings.txt) file in the FIREFOX_PATH\n\n## Browser Profile `CHROME_PATH`\n\nFor Chrome you can open Chrome browser, in the navigation bar you can go to `chrome://version/` and copy the **Profile path** to set it in the [settings.txt](settings.txt) file in the BROWSER_PATH\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmgama%2Fwhatsapp-scraping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmgama%2Fwhatsapp-scraping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmgama%2Fwhatsapp-scraping/lists"}