A simple code for downloading novels from syosetu.com You can find examples under examples
need python3.12+
python3 mian.py --novel_id "n4350im"
novel_id
:
The path of the novel on the website, similar ton4350im
(https://ncode.syosetu.com/n4350im/)proxy
(optional):
Depending on your region, you may need to configureproxy
to accesssyosetu.com
.output-dir
(optional):
The path to save the novel. If not specified, the novel will be saved in the current directory.save-format
(optional):
The format of the novel, now supporttxt
amdepub
. If not specified, the novel will be saved in.txt
format.record-chapter-number
(optional):
Whether to record the chapter number in the novel. If not specified, the chapter number will not be recorded. Like: