Answer the question
In order to leave comments, you need to log in
How to organize multithreading with requests?
Good
In general, even I can’t finish one moment.
There is a small python-requests program, I
sort through a bunch of id-shnikov and follow the links
example:
def Parse():
link = "site.ru/index.php?id="
id_list = [1,2,3,4,5,6,7,8,9,10] # до миллиона
for i in id_list :
print(i)
src = requests.get(link + "&sstr=&sstr_id={}".format(i))
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question