I have a 5000 urls to make request and check for a specific word inside source of each url
i want to do it as fast as possible, i am new to python
this is my code
import requests
def checkurl(url):
r = requests.get(url)
if 'House' in r.text:
return True
else:
return False
if i do for loop it will take alot of time so i need a solution for multithreading or multi-processing
Thanks for the help in advance :)