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.
Metadata
Release files for wz-uniform-crawler 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wz_uniform_crawler-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / wz_uniform_crawler-1.0.1-py3-none-any.whl
| Download URL | wz_uniform_crawler-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0feb92473cf7bd411da68398c7b16bae543b630c74b06cdf00c60e51e4251684
|
|
BLAKE2b-256 checksum How to use checksums |
71f8f07d0612b6b7f2feb9147defeaab0f66b623214fbef68b401041da8d992a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.4.2 requests/2.18.4 setuptools/41.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
|