Skip to main content

A simple crawler script for Uniform Map / 制服地圖 (http://uniform.wingzero.tw/)

Project description

wz-uniform-crawler

This is a simple crawler script for downloading images from Uniform Map / 制服地圖

Installation

Install from PyPI:

pip install wz-uniform-crawler

Install from GitHub:

pip install git+https://github.com/issaclin32/wz_uniform_crawler/

Usage

import wz_uniform_crawler

# download images according to page url
wz_uniform_crawler.fetch_by_url('https://uniform.wingzero.tw/school/intro/jr/198')

# download images with 20 parallel download threads (default = 10), without showing messages.
wz_uniform_crawler.fetch_by_url('https://uniform.wingzero.tw/school/intro/jr/198', num_of_parallel_downloads=20, verbose=False)

# download all images from Uniform Map
wz_uniform_crawler.fetch_all()

# download all images from Uniform Map tagged as type "jr"(Junior High Schools in Taiwan) and "tw" (High Schools in Taiwan)
# with 20 parallel download threads
wz_uniform_crawler.fetch_all(school_types=['jr', 'tw'], num_of_parallel_downloads=20)

Disclaimer

This crawler script is only made on the purpose of personal programming practice. I do not own the copyright, nor have any affiliation with the maintainer of Uniform Map.

Project details


Release history Release notifications

Download files

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

Files for wz-uniform-crawler, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size wz_uniform_crawler-1.0.1-py3-none-any.whl (5.1 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page