Skip to main content

BaiduImageSpider

This is a package for searching for pictures on Baidu with keywords.

code copy from BaiduImageSpider,But through this repository, you can download and install directly via pip.

Usage

pip install BaiduImageSpider and

import BaiduImageSpider
crawler = BaiduImageSpider.Crawler(0.1)
crawler.start('林俊杰', 2, 1)

Args:

  • sleep_time: 0.1,代表每张图爬取的时间
  • word: '林俊杰',抓取的关键词
  • spider_page_num: 需要抓取数据页数 总抓取图片数量为 页数x60
  • start_page: 起始页数

Examples

crawler.start('林俊杰', 1, 1) crawler.start('韩国美女', 2, 1) crawler.start('红绿灯', 2, 1)

Metadata

Release files for BaiduImageSpider 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for BaiduImageSpider 0.0.2
File Size Uploaded Provenance
BaiduImageSpider-0.0.2.tar.gz 3.5 kB Without provenance Details

Release files / BaiduImageSpider-0.0.2.tar.gz

Download URL BaiduImageSpider-0.0.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5337676dc03d6c1d5769af6b231d0e9667a181c7f0dee5e2104f6f2491cebb65
BLAKE2b-256 checksum
How to use checksums
d696e32d732986995cdeb6c19acae998cfb813adabcc83ee33cc3a8f87302476
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

Security for BaiduImageSpider 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page