GlobalCreativeApkDev/gemini-pro-web-scraper — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a simple Python tool called Gemini Pro Web Scraper that lets me scrape data from a website without writing code each time.

When I run it from the terminal, it should read my Gemini API key from a .env file, then ask me for the Gemini settings like temperature, top P, top K, and max output tokens. After that, it should ask for the website URL, what kind of page it is, how many data fields I want to collect, and the name plus CSS selector for each field.

The tool should use Gemini to generate a working scraper file for that specific website, save the generated Python code in a scrapers folder, run it, and save the scraped results as a CSV file in a csvs folder. It should also ask if I want to scrape another site or exit.

Please make it easy to install and run, with clear terminal prompts and basic error handling. Look up current Gemini docs online if you need to.

Want more depth? Deep Reverse