webinfo-scraper
抓取网页基础信息(标题、meta 描述、h1-h3 标题、链接、正文摘要),直接请求网页 HTML 并解析,不依赖网站官方 API。
使用方式
无需安装,直接运行:
uvx webinfo-scraper https://example.com
保存为 JSON 文件:
uvx webinfo-scraper https://example.com -o result.json
安装
pip install webinfo-scraper
安装后可直接使用命令 webinfo-scraper <url>。
注意
抓取前请确认自己有权限访问目标网站,并遵守其 robots.txt 与使用条款。
Metadata
Release files for webinfo-scraper 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| webinfo_scraper-0.1.0.tar.gz | 69.1 kB | Without provenance | Details for webinfo_scraper-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| webinfo_scraper-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for webinfo_scraper-0.1.0-py3-none-any.whl |
Total release size: 72.9 kB
Release files / webinfo_scraper-0.1.0.tar.gz
| Download URL | webinfo_scraper-0.1.0.tar.gz |
|---|---|
| Size | 69.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dacf5535ed9827d95804fde2437cb72cb0526b104247ba37bedb682ecc2ee0ba
|
|
BLAKE2b-256 checksum How to use checksums |
43379616f0f1dc5211a68081a24bc2ea1a7617119f44da8542043d620f3a07e4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.27 {"installer":{"name":"uv","version":"0.11.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / webinfo_scraper-0.1.0-py3-none-any.whl
| Download URL | webinfo_scraper-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8acd21791650cb9951311e158d190e4ab7cc85b018cbd886a03e56b9d0605bc6
|
|
BLAKE2b-256 checksum How to use checksums |
8d56a42d38cd886ce4738eb41e005b1c85593ab3ce8172b0f70e9fd3bbc65c90
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.27 {"installer":{"name":"uv","version":"0.11.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for webinfo-scraper 0.1.0
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.