warifp/Shopee-Scrape ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple PHP tool that scrapes Shopee product data from a search or product page and shows the results in the terminal.
I want it to collect the product name, current price, stock status, product photo, and store location, then save the data so I can use it later as JSON. If possible, also generate a clean HTML result page and an Excel export like the screenshots in the repo.
Make it easy to run from the command line with one command, and keep it working on both Windows and Linux. If you need to check the latest way to do something, look up current docs online first.
Please keep the app straightforward and usable, with clear output, basic error handling, and files saved in a sensible place so I can find the scraped results easily.
Are you gonna build this?
make sure you review the code using coderabbit