zainulabedeen123/SERP-Web-scraper---Python — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Google search results scraper app in Python that uses SerpApi, so I can type a search term and see the results in a clean dark web page.
I want the web page to have a form for the query, country, language, Google domain, device type, SafeSearch, number of results, and number of pages. After searching, show the results in tabs for organic results, ads, People Also Ask, related searches, and knowledge graph if they exist. Add buttons to download the results as JSON or CSV.
Also include a command line option so I can run something like a Python script with a query and have the results saved into an output folder. Keep the API key in a .env file using a SERPAPI_API_KEY value, with an example env file included. Make it easy to run locally with no database or frontend build step. Look up the current SerpApi docs if needed.
Want more depth? Deep Reverse