Hey, anyone who knows even a little about web stuff would find this funny

It’s just a super simple example of using a tool. Honestly, even a robot could write better code than that

I already told you — start by learning Python or another coding language. Then check out some videos or classes online about those tools like Selenium, Puppeteer, or Playwright.
This isn't really a view bot. It probably wouldn’t even get one view since it doesn’t hide where it's coming from. When you use tools like Selenium with Chrome or other browsers, they can tell you’re using a robot. Even Google can tell.
Also, there were some mistakes when you changed the code, and the script itself doesn’t really work. It just opens a site the number of times you typed in and then closes it right away.
If you're sharing code on a forum, you should use the code box so the spacing stays right — Python needs that to work. And you used 'while true', which means the code runs forever unless you stop it, but I didn’t see anything that would stop it.
Honestly, just ask ChatGPT — it’ll give you a better version than this one.