I have a webcrawler that goes to a website to extract the contact info. However, for some websites, it takes way too long. My code is in a for loop. Is there a way that I can tell the program to "continue" to the next iteration if the for loop exceeds a certain n amount of time.
I was thinking of a try/except but I do not know how to implement time in the code.
Thanks.