Skip to content

一个使用多进程进行图片爬取的爬虫,全篇注释,适合新手学习使用,欢迎Star

Notifications You must be signed in to change notification settings

ayjin-dev/ObizhiSpider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

简介

这是一个使用原生Requests库和Multiprocessing库完成的爬虫,爬取网址为http://www.obzhi.com/

使用说明

使用文档

1.首先下载该代码,可以选择压缩包或者命令行输入以下指令

$ git clone https://github.com/ay1Jin/ObizhiSpider.git

2.安装依赖,这里默认使用的python3.6

$ pip install -r requirement.txt

3.在根目录创建一个img文件夹

$ python ObSpider.py

接下来就可以看到抓取的日志了。 img

使用截图

rst

最后

谢谢使用~有问题可提交Issues

About

一个使用多进程进行图片爬取的爬虫,全篇注释,适合新手学习使用,欢迎Star

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages