-
爬取命令 ,找到对应文件位置
e:
cd market\scrapy\tutorial
scrapy crawl dianping
会在当前目录增加数据文件,user.dat,shop.dat
注意事项:爬取前更改url,当爬取无反应的时候换cookie
-
分析数据
e:
cd market\scrapy\tutorial
ipython
%run iptest.py
会显示图像,也会在static/images/下面生成region_age_count.png,region_sex_count.png,region_count.png,供页面显示用
-
访问页面
在项目下run manage.py ,页面访问地址。
-
Notifications
You must be signed in to change notification settings - Fork 0
songjiyang/market
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published