🐊// 百度搜索爬虫,爬取百度搜索结果
一个小脚本而已,主要爬取主站首页url
geturl('XX XX 首页') //这里填写关键字,支持多个关键字搜索
建议采用三个关键字搜索,保证搜索结果准确性
eg.geturl('北京 公司 首页')
爬虫结果自动导出为result.txt
格式:url+title
eg.http://www.baidu.com 百度一下,你就知道
for page in range(10): //这里修改爬取搜索结果页数
forked from Evilran/baidusearch_spider
-
Notifications
You must be signed in to change notification settings - Fork 0
tuoxin126/baidusearch_spider
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
百度搜索爬虫,爬取百度搜索结果
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%