网络爬虫(python3大众点评网)

我晕死哦 37 0 RAR 2019-08-13 15:08:48

Python3.2编写的网络爬虫。有两个文件:hotel.txt为上海地区所有酒店的url;爬虫3.py是爬虫脚本,依次读取hotel中的每行url,将评分信息存放到本地。

用户评论
请输入评论内容
评分:
Generic placeholder image 卡了网匿名网友 2019-08-13 15:08:48

好用,不错,感谢

Generic placeholder image 卡了网匿名网友 2019-08-13 15:08:48

不表示任何意见

Generic placeholder image 卡了网匿名网友 2019-08-13 15:08:48

不表示任何意见 仅学习

Generic placeholder image 卡了网匿名网友 2019-08-13 15:08:48

挺好的,有些启发

Generic placeholder image 卡了网匿名网友 2019-08-13 15:08:48

能运行,但不出来结果,检查中。。。

Generic placeholder image 卡了网匿名网友 2019-08-13 15:08:48

请问商家网址怎么爬取呢?

Generic placeholder image 卡了网匿名网友 2019-08-13 15:08:48

谢谢拿来了解一下

Generic placeholder image 卡了网匿名网友 2019-08-13 15:08:48

有基本功能

Generic placeholder image 卡了网匿名网友 2019-08-13 15:08:48

代码简单,挺好用

Generic placeholder image 卡了网匿名网友 2019-08-13 15:08:48

这个是基本版的,亲测可用。只不过可能页面的格式改变了自己刺耳一个解析方法吧