网络爬虫(二)之动态网页爬取及使用selenium模块爬取

爬取Ajax数据案例(今日头条,某条新闻的评论信息保存成 txt 文档) """ 使用requests模块爬取动态网页数据: 今日头条,某条新闻的评论信息 """ import requests # 这是爬取地址,返回ajax数据 url = "https://www.toutiao.com/api/comment/list/?group_id=6749065854995939854&item
相关文章
相关标签/搜索