Skip to main content

Backup your Zhihu contents before quitting Zhihu.

Project description

退乎前备份知乎回答:zhihubackup

每个知乎答主都有退乎的梦想,但退乎前如果删光回答,则十分可惜。因此,我用Python写了60行的脚本,可以在退乎前备份自己的所有回答和文章,以免事后后悔。

安装

pip install zhihubackup

使用

假如你是@贱贱,你的id是splitter,那么可以执行命令:

zhihubackup splitter

静等一段时间。运行结束后,可以看到产生了名为splitter的文件夹:

- splitter
|- answer   (842 files)
|- article  (101 files)
|- pin      (3214 files)
|- question (57 files)

备份已经成功,现在可以删光回答和文章了。

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zhihubackup-0.2.2.tar.gz (16.2 kB view details)

Uploaded Source

Built Distribution

zhihubackup-0.2.2-py3-none-any.whl (12.1 kB view details)

Uploaded Python 3

File details

Details for the file zhihubackup-0.2.2.tar.gz.

File metadata

  • Download URL: zhihubackup-0.2.2.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for zhihubackup-0.2.2.tar.gz
Algorithm Hash digest
SHA256 124c1d5658a847256cd7cbe1ea2e0a9f754a16271e8e490106b8d63aecdec308
MD5 f788c3fc94b6e3cb65c6eb741e482d19
BLAKE2b-256 1a09faafa6554497945aaa971bfc2b2db965a9d9d3ad694741243ff08307ac4e

See more details on using hashes here.

File details

Details for the file zhihubackup-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: zhihubackup-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 12.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for zhihubackup-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 cdd32869689cf2fef40a2b585cb06437ab9c98c59e219f7fac031507ed1da80f
MD5 e87c117152fb88f1f42ce9fbf3456b87
BLAKE2b-256 c9a815f4b45bd4ffbd0a78d0ec6573edfd17d7ec96450124e083247d783550c1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page