JiandanSpider icon indicating copy to clipboard operation
JiandanSpider copied to clipboard

煎蛋网图片爬虫

Results 3 JiandanSpider issues
Sort by recently updated
recently updated
newest added

在 ```main``` 当中,在给每个 ```Spider``` 线程分配 ```page_Url``` 的时候 使用的```int((len(page_Url)) / t_amount)``` 由于```int``` 取整的时候只会向下取整,所以当 ```amount``` 大于10,但又不为10的倍数时,无法取完所有的 ```page_Url``` 例如: ```python amount = 12 int((len(page_Url)) / t_amount) = 1 # 当 i 取到最大时 int((len(page_Url))...

c=re.search(r'.*f_\w+\(e,\"(\w+)\".*',jsFile) 这段代码返回的c是none 原因是去请求jsFile 报404错误,在浏览器里jsFileUrl的地址是能正常访问的,求指教