Python爬虫我的总结

爬虫中常常遇到这样的代码:python ids=['id1','id2','id3']#爬虫缓存id数据 contents=['content1','content2','content3']#爬虫缓存内容数据 for id,conten in zip(ids,contents): info={ #将id,content信息存入info字典中 'content':conte
相关文章
相关标签/搜索