Skip to main content

CNKIBug

中国知网论文信息抓取工具,提供 GUI 和终端入口,支持普通检索、GUI 高级检索、Excel/CSV 导出、引文及详情提取、停止和断点续抓。

安装和启动

Python 3.10 至 3.14,需要图形桌面和浏览器完成知网的人工验证。

python -m pip install "cnkibug[gui]"
python -m playwright install chromium
cnkibug-gui

Linux 需要 Python Tk 支持。Debian/Ubuntu 可通过系统包管理器安装 python3-tk;建议在虚拟环境中安装 Python 依赖。Playwright 的系统依赖按其官方安装说明准备。

终端入口:

python -m pip install cnkibug
python -m playwright install chromium
cnkibug

Windows 用户可直接从 GitHub Releases 下载单文件 GUI EXE。

数据和更新

通过安装命令启动时,数据存放位置为:

  • Linux:$XDG_DATA_HOME/CNKIBug-data,默认 ~/.local/share/CNKIBug-data
  • Windows:%LOCALAPPDATA%/CNKIBug-data
  • macOS:~/Library/Application Support/CNKIBug-data,当前不在正式支持范围

导出目录由用户选择。通过源码入口或便携 EXE 启动时,仍使用启动文件旁的 CNKIBug-data。

Python 包通过 python -m pip install --upgrade "cnkibug[gui]" 升级;GUI 中的 EXE 自动替换仅适用于 Windows 打包版。

使用范围

项目与中国知网不存在隶属、授权或合作关系。验证码需要手动完成;不支持校园 WebVPN、统一认证网关或纯无头服务器。请遵守网站协议和所在机构规定,合理控制访问频率。

项目按 MIT License 提供,不保证网站长期兼容或结果完整。完整说明见 项目仓库。

Metadata

Release files for cnkibug 0.7.0

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

Source distribution (sdist)

Source distribution for cnkibug 0.7.0
File Size Uploaded
cnkibug-0.7.0.tar.gz 120.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cnkibug 0.7.0
File Interpreter ABI Platform
cnkibug-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 233.6 kB

Release files / cnkibug-0.7.0.tar.gz

Download URL cnkibug-0.7.0.tar.gz
Size 120.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cdf0f8067b52f25bbf700474baf34eb6ca7f28cc2bb57c0f49acc1c40ffccfeb
BLAKE2b-256 checksum
How to use checksums
d96a32d1232acd218c29b864b2c1bab693369a8263e7bf164630f8924b8deef1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release files / cnkibug-0.7.0-py3-none-any.whl

Download URL cnkibug-0.7.0-py3-none-any.whl
Size 113.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1689fa98dc24cd1c0dde12fb616c3d4f290c3688ba7005214c395999ee7c0db6
BLAKE2b-256 checksum
How to use checksums
2c73d5096e9828867fd10af0a9b231cd942ddcf21eda92981c9bd17e5b83fd2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 16, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

This release

0.7.0 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