Skip to main content

fast crawl web image source

Project description

# crawl_image

## Introduction
多线程快速抓取网页所有图片资源到指定路径,原理是抓取img标签的src,再整合域名成资源完整url,分发到程序线程去下载。

## Example
```py
from crawl_image.model.img_crawl_model import ImgCrawlModel
from crawl_image.img_crawl import crawl_start

img_crawl_model = ImgCrawlModel()
img_crawl_model.url = 'http://huaban.com/'
img_crawl_model.img_save_path = 'D:/crawl/image'
crawl_start(img_crawl_model)
```

## Features
- 高速下载
- 抓取所有图片
- 自解网页编码
- 过滤图片类型

## Communication
- 未来已来 203737026

## Copyright and License
code for you

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

crawl_image-0.0.5.tar.gz (8.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page