python爬虫4猫眼电影的Top100
摘要:1 查看网页结构 (1)确定需要抓取的字段 电影名称 电影主演 电影上映时间 电影评分 (2) 分析页面结构 按住f12 >点击右上角(如下图2) >鼠标点击需要观察的字段 (3)BeautifulSoup解析源代码并设置过滤属性 1 soup = BeautifulSoup(htmll, 'lxm
阅读全文
posted @ 2019-11-25 20:02
posted @ 2019-11-25 20:02
posted @ 2019-11-02 20:30
posted @ 2019-11-02 20:29
posted @ 2019-11-02 16:34