Skip to main content

此项目未完成

zhihu_crawler

自动登录,保存token,爬取知乎数据

使用方法

from zhihu.client import Client

# 所有程序的入口
client = Client()
# 直接使用用户名和密码登录
client.login(username='+8615555555555', password='password')
# 不使用参数,根据命令行输入
# client.login()

# 登录后获取个人信息
myself = client.myself()

# 打印个人信息,json 格式
print(myself.info())

Metadata

Release files for zhihu-crawler-pro 2.2.5

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

Source distribution (sdist)

Source distribution for zhihu-crawler-pro 2.2.5
File Size Uploaded
zhihu_crawler_pro-2.2.5.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zhihu-crawler-pro 2.2.5
File Interpreter ABI Platform
zhihu_crawler_pro-2.2.5-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / zhihu_crawler_pro-2.2.5.tar.gz

Download URL zhihu_crawler_pro-2.2.5.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d7a53f441613b3d3f4fdda74761feafe8e7670d92f06e3ad6abf5c76e96a731b
BLAKE2b-256 checksum
How to use checksums
a4a97e7e2d9bdbd66bbc72c07c7579e752f7c00a23b41ebd84079d2c8cc04607
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.2

Release files / zhihu_crawler_pro-2.2.5-py3-none-any.whl

Download URL zhihu_crawler_pro-2.2.5-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14e55e2cb94ff697a8623b0499705314b1e0f52e6d7a364056cfaf0ce7a63e86
BLAKE2b-256 checksum
How to use checksums
05e86074664e28ff5c32bc1927ff73f2c87aea301b10bb01e9ecd4202e9ab65a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

2.2.5 This release

2 release files

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