I have a database from which the data is taken for the script, how to make that the lines are taken not in order, but randomly and at the same time do not repeat?
Maybe not the best way to do it but you can scrape all possible urls on the page and then add all to a new list then you can take a random line from the list and click it. That would 100% work.