Skip to content

淘宝爬虫,淘宝搜索页面的商品价格、销量、名称信息

Notifications You must be signed in to change notification settings

Susan7239874/taobaopa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

淘宝爬虫

cookie 是淘宝搜索页面的newwork下DOC的cookie,在网页登录状态下的cookie,使用py需要替换
goods 是搜索的商品,可自行替换
depth 是爬虫的页码

使用.py的步骤和前提:
1、python下载安装,环境变量配置好
最好在python的安装目录下安装request、bs4、lxml等模块
2、安装requests模块,bs4和lxml可不装
pip3 install requests //requests 请求库安装,命令行(因为python版本是3以上)
pip3 install bs4
pip3 install lxml
3、用命令行在py文件目录下,python taobao.py(或者使用pycharm打开这个py文件run)

About

淘宝爬虫,淘宝搜索页面的商品价格、销量、名称信息

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages