{"id":18080122,"url":"https://github.com/sundios/people-also-ask","last_synced_at":"2025-04-10T23:51:57.875Z","repository":{"id":41317581,"uuid":"256120816","full_name":"sundios/people-also-ask","owner":"sundios","description":"People also ask Google scraper. Get as many questions as you need to optimize your site for voice or new content ideas or answering questions about your desired topic.","archived":false,"fork":false,"pushed_at":"2025-03-11T01:47:37.000Z","size":71458,"stargazers_count":126,"open_issues_count":1,"forks_count":31,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-10T23:51:52.799Z","etag":null,"topics":["google-scraper","google-scraping","python","python3","questions-and-answers","selenium","seo","seo-optimization","seotools"],"latest_commit_sha":null,"homepage":"https://www.kwrds.ai","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sundios.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2020-04-16T05:45:28.000Z","updated_at":"2025-03-11T01:47:41.000Z","dependencies_parsed_at":"2025-01-05T06:14:31.493Z","dependency_job_id":null,"html_url":"https://github.com/sundios/people-also-ask","commit_stats":{"total_commits":46,"total_committers":3,"mean_commits":"15.333333333333334","dds":0.08695652173913049,"last_synced_commit":"103ba9bc049ac3584ae5b725f93a000ccfb89832"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundios%2Fpeople-also-ask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundios%2Fpeople-also-ask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundios%2Fpeople-also-ask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sundios%2Fpeople-also-ask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sundios","download_url":"https://codeload.github.com/sundios/people-also-ask/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248317706,"owners_count":21083528,"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":["google-scraper","google-scraping","python","python3","questions-and-answers","selenium","seo","seo-optimization","seotools"],"created_at":"2024-10-31T13:06:06.669Z","updated_at":"2025-04-10T23:51:57.856Z","avatar_url":"https://github.com/sundios.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# People Also Ask Google Scraper\n\nPPA scraper is a Python script that, based on a query scrapes Google people also ask questions. \n\nIf you want to get Free People Also Ask queries please visit --\u003e \u003ca href=\"https://www.kwrds.ai/\" rel=\"follow\"\u003e[https://www.kwrds.ai/](https://www.kwrds.ai/)\u003c/a\u003e\n\n\n\u003ca href=\"https://bmc.link/sundios\" target=\"_blank\"\u003e\u003cimg src=\"https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;-webkit-box-shadow: 0px 3px 2px 0px rgba(190, 190, 190, 0.5) !important;\" \u003e\u003c/a\u003e\n\n\n## Installation\n\nTo install and run this script, we need to install the requirements.txt and the driver. Since we are using Chrome, we need to download the latest Chrome driver.\n\n\n### Requirements\n\nTo install requirements.txt, please run the following on the terminal.\n\n```bash\npip install requirements.txt\n```\n\n### Chrome driver\n\n#### 1.- Step one (Check Chrome Version)\n\nCheck which Chrome version you are using.\n\nyou can do it via the terminal using the following command:\n\n```bash\n/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --version\n```\n\nor you can simply go into Chrome and click on Chrome\u003e About Google Chrome. you should see something like:\n\n```\nGoogle Chrome is up to date.\nVersion 89.0.4389.90 (Official Build) (x86_64)\n```\n\n#### 2.- Step two (Download Chrome Driver)\n\nDownload the correct version of Chrome driver.\n\nGo to https://chromedriver.chromium.org/downloads\n\nAnd click on your chrome version.\n\nE.g: 'Chrome version 89, please download ChromeDriver 89.0.4389.23'\n\n\n#### 3.- Step three (Chrome driver permissions)\n\nIf you are on MacOS Catalina do the following:\n\nNavigate to the path where your Chromedriver file is located and run \n\n```bash\nxattr -d com.apple.quarantine chromedriver\n\n```\n\n#### 4.- Step four (chromedriver path)\n\nYou can do either solution:\n\na.- Move chrome driver to /usr/local/bin/ \n\nMake sure you are on the folder chromedriver is and run.\n\n```bash\nsudo mv chromedriver /usr/local/bin/\n```\n\nb.- Update the chrome driver path on the Python script.\n\nOn line 35, update `executable_path` with your Chrome driver path\n\n```python\nexecutable_path='add_path_here'\n```\n\n\n## Usage\n \nTo run the script, we go to the terminal and ensure we are in the correct folder. We type:\n\n\n```bash\npython3 paa.py\n```\n\nOnce you run the script it will ask you to provide 3 inputs that are necessary.\n\n1. **Add Query:** Query that you want to get the answers from.\n\n**E.g**\n\n```\nnetflix stock\n```\n\n2. **How many questions do you want to click?:** The more clicks you add the more question you get. Usually, 1 click adds 2 or 3 questions and by default, Google provides 4 questions. So if we add 5 as clicks, then we would get around 15 questions.\n\n3. **Please select your language:** I added only 2 languages, English (en) and Spanish (es). Make sure that the language is in lowercase.\n\n## Result\n\nOnce you run the script, it will output a df with all the questions that found for the query you requested. The output should look like this:\n\n**English E.g** \n```\n                                         Questions\n0                        Is Netflix a buy or sell?\n1                   Why is Netflix stock dropping?\n2               Does Netflix stock pay a dividend?\n3                           Is Netflix overvalued?\n4             What stock is best to buy right now?\n5                  Is Walmart a good stock to buy?\n6                          Is Netflix going broke?\n7                        What stocks are up today?\n8   What is the most expensive stock in the world?\n9               What stock pays the best dividend?\n10                        Do Amazon pay dividends?\n11                Does Apple stock pay a dividend?\n12                      Can you invest in Netflix?\n13                  What is the future of Netflix?\n```\n\n**Spanish E.g** \n```\n                                           Questions\n0                    ¿Cuánto cuesta Netflix al mes?\n1          ¿Cuánto cuesta Netflix al año en España?\n2              ¿Cómo iniciar una sesión de Netflix?\n3   ¿Cuánto cuesta una cuenta en Netflix Venezuela?\n4            ¿Cuánto cuesta Netflix en México 2020?\n5                       ¿Qué ofrece Netflix basico?\n6            ¿Cuánto vale Netflix en Colombia 2020?\n7                        ¿Cuánto vale Netflix 2020?\n8                   ¿Cuánto está Netflix Perú 2020?\n9                ¿Dónde pongo mi código de Netflix?\n10  ¿Cómo hago para tener el mes gratis de Netflix?\n11             ¿Por qué no puedo acceder a Netflix?\n```\n\n\n## Issues \u0026 Contributing\nPull requests are welcome. If you have any issues please open an issue to see if I can help.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundios%2Fpeople-also-ask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsundios%2Fpeople-also-ask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsundios%2Fpeople-also-ask/lists"}