format README

This commit is contained in:
yzqzss 2024-07-18 04:02:17 +08:00
parent b44ace123d
commit 8260784a7f

View File

@ -1,12 +1,14 @@
# cnblogs archiver
## How can I help?
## How can I help?
### Binary
Go to [release](https://git.saveweb.org/saveweb/cnblogs/releases) page, downlaod `cnblogs_posts_list` and run it.
WARNING: DO NOT run `cnblogs_posts_list` concurrently (on same IP), you may be banned by cnblogs.
### Docker
### With Docker
```bash
export ARCHIVIST=<your_node_name> # a string that can uniquely identify your node (for example: bob-gcloud-514). (Legal characters: letters, numbers, -, _)
@ -29,16 +31,14 @@ docker rm -f cnblogs \
```
---
NOTE: `cnblogs_rss_detect` is finished, you don't need to run it.
## Archiving stages
### stage1detect all blogids (~~finished~~)
run `cnblogs_rss_detect`
NOTE: `cnblogs_rss_detect` is finished, you don't need to run it.
### stage2iterate all blogids and collect all posts' URLs (running)
run `cnblogs_posts_list`