爬虫
爬虫分析
简书钻的排行采用了异步加载,我们通过找包来获取数据,这里分为文章排名和用户排名,我们单独编写代码和单独存储。
?...']
author_url = path + slug
style = jug_vip(author_url)
author_nickname = user...['fp']
print(author_nickname,author_url,author_fp,voter_fp,fp,style)
writer.writerow(...[author_nickname,author_url,author_fp,voter_fp,fp,style])
def jug_vip(url):
res = requests.get(url...','author_url','author_fp','voter_fp','fp','style'])
urls = ['https://www.jianshu.com/asimov/fp_rankings