Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zyszys/mzitu_spider
:truck:一只爬取mzitu.com美女图片的小爬虫,不说了赶紧上车~
https://github.com/zyszys/mzitu_spider
mzitu mzitu-spider spider
Last synced: 2 months ago
JSON representation
:truck:一只爬取mzitu.com美女图片的小爬虫,不说了赶紧上车~
- Host: GitHub
- URL: https://github.com/zyszys/mzitu_spider
- Owner: ZYSzys
- License: mit
- Created: 2017-09-10T05:32:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-12-16T08:15:40.000Z (about 1 year ago)
- Last Synced: 2024-06-14T20:57:50.874Z (8 months ago)
- Topics: mzitu, mzitu-spider, spider
- Language: Python
- Homepage:
- Size: 859 KB
- Stars: 18
- Watchers: 2
- Forks: 12
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mzitu_Spider
[![license](https://img.shields.io/github/license/ZYSzys/Mzitu_Spider.svg)](https://github.com/ZYSzys/Mzitu_Spider/blob/master/LICENSE)
对http://www.mzitu.com 进行爬取,下载首页美女图片
## 依赖环境
python2.7, 3.6
### python库
http请求:requests
图片提取:bs4
存储相关: os## 下载安装
在终端输入如下命令:
```bash
git clone https://github.com/ZYSzys/Mzitu_Spider.git
```## 使用方法
在当前目录下输入:
```bash
cd Mzitu_Spider
pip install -r requirements.txt
python mz.py
```
运行爬虫,如图所示
![](/screenshots/1.png)稍等几分钟后,当前目录下生成Mzitu文件夹,首页每套图以存储在其中
![](/screenshots/2.png)