Table of Contents Management
Commands to create a add, delete a Table of Contents, or to sync it to the most recent chapters.
set-toc-main-url
Set the main URL for the TOC of a novel.
set-toc-main-url [OPTIONS]
Options
- -t, --title <title>
Required Title of the novel, this server as the identifier.
- --toc-main-url <toc_main_url>
Required New TOC main URL (Previous links will be deleted).
Environment variables
- SCRAPER_NOVEL_TITLE
Provide a default for
-t
add-toc-html
Add TOC HTML to a novel.
add-toc-html [OPTIONS]
Options
- -t, --title <title>
Required Title of the novel, this server as the identifier.
- --toc-html <toc_html>
Required Novel TOC HTML loaded from file.
- --host <host>
Host used for decoding, optional if toc-main-url is provided.
Environment variables
- SCRAPER_NOVEL_TITLE
Provide a default for
-t
sync-toc
Sync the TOC of a novel.
sync-toc [OPTIONS]
Options
- -t, --title <title>
Required Title of the novel, this server as the identifier.
- --reload-files
Reload the TOC files before sync (only works if using a TOC URL).
- Default:
False
Environment variables
- SCRAPER_NOVEL_TITLE
Provide a default for
-t
delete-toc
Delete the TOC of a novel.
delete-toc [OPTIONS]
Options
- -t, --title <title>
Required Title of the novel, this server as the identifier.
- --auto-approve
Auto approve.
- Default:
False
Environment variables
- SCRAPER_NOVEL_TITLE
Provide a default for
-t
show-toc
Show the TOC of a novel.
show-toc [OPTIONS]
Options
- -t, --title <title>
Required Title of the novel, this server as the identifier.
Environment variables
- SCRAPER_NOVEL_TITLE
Provide a default for
-t