标签:app reading compile style sub .text thread blog tps
import re,requests,threading def req(): while True: r=requests.get(‘https://h5.qzone.qq.com/ugc/share/D99417FD032C65AE9B3FBF8A11505D09?uw=1421270531&subtype=0&sid=&blog_photo=0&appid=2&ciphertext=D99417FD032C65AE9B3FBF8A11505D09&g_f=2000000392&_wv=1‘) print(re.findall(re.compile(‘>浏览\d+次<‘),r.text)) for i in range(200): t=threading.Thread(target=req) t.start()
标签:app reading compile style sub .text thread blog tps
原文地址:https://www.cnblogs.com/xiaodebing/p/9257657.html