harrison-broadbent/gsc-auto-index-script ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Ruby script that connects to Google Search Console with a Google Cloud service account and automatically submits pages for indexing.
I want it to let me authenticate with a JSON key file, show me the Search Console properties I have access to, let me pick one, then pull the sitemap URL for that site and submit every page it finds for indexing or re indexing. If there’s a CSV mode turned on, it should read a file called urls.csv and submit only those URLs instead of the whole sitemap.
Please keep it easy to run from the command line, with clear setup notes for the service account and anything else needed to get it working. If you need to check the current Google docs or API details, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit