gavintranquilino/YouTube-view-bot ? reverse-engineered prompt
Reverse engineered prompt
Build me a small Python tool that uses a browser to open a YouTube video page, keep it open for a set amount of time, then repeat that a few times based on a simple config file. I want it to be easy to set up, with one JSON file where I can change the video link, how many tabs to open, how long each session should stay open, how many cycles to run, and which browser to use.
Please make it run from a single main script, and keep the code simple enough that I can understand and tweak it later. If anything in the setup depends on current Selenium or browser driver behavior, look up the latest docs online if needed. Also include basic error handling so it does not crash immediately if the browser is missing or the config is wrong.
Are you gonna build this?
make sure you review the code using coderabbit