使用requests模块构造的下载器,首先安装第三方库requests pip install requests 1 class StrongDownload(object): def __init__(self): #拿到代理iplist self.iplist = ['自己想办法搞'] # self.UserAgent = ['自己想办法搞'] def get(self,url,timeout,proxy=False,num_retries=3): '''url timeout,proxy,…