And the 2nd chapter needs fixing, for example, it's an anti-theft one, or garbled, or improperly typeset.
After we get the correct chapter, it should be stored in $XBQG_DATA so that it won't lost when we want to read it again or share it.
Considering the other coming commands for advanced book operation, the directory strcuture will have a breaking change. See below.
books
├── 5_5244 # book id
│ ├── index.json # will be used by `index_*` commands.
│ └── pages # will be used by `cache_*` and `patch_*` commands.
│ ├── 5533019
│ ├── 5533022
│ ├── 5533022$ # a patch chapter ends with `$`.
│ └── 5533026
└── marks.json # `books.json` will be here.
When fetch_{prev,next} commands is called, it first checks if the patch file exists. This progress will be a built-in hook.
We need patches!
We should be able to manually manage the
prev
andnext
pointers of a chapter.All of the xbqg sites storage novels as a linked list.
Suppose there's a book with 3 chapters:
And the 2nd chapter needs fixing, for example, it's an anti-theft one, or garbled, or improperly typeset.
After we get the correct chapter, it should be stored in
$XBQG_DATA
so that it won't lost when we want to read it again or share it.Considering the other coming commands for advanced book operation, the directory strcuture will have a breaking change. See below.
When
fetch_{prev,next}
commands is called, it first checks if the patch file exists. This progress will be a built-in hook.Estimated completion time: undefined.