Currently, the only image being downloaded is Cover-Image. Allow rule to specify images to be downloaded.
-
Images will be downloaded in ./data/novels/{NovelGUID}/images folder
-
Add new parameter in ChapterScript return object.
{
"title": "", // title of chapter
"content": "", // content
"nextURL": ""
"images": [
{
"name": "{unique name here}",
"url": "{url of the image to download}",
},
],
}
-
content will have html containing images, whose src value will be relative.
- will be in the format
./data/novels/{NovelGUID}/images/{name}
NovelGUID must be supplied to the ChapterScript.
Currently, the only image being downloaded is
Cover-Image. Allow rule to specify images to be downloaded.Images will be downloaded in
./data/novels/{NovelGUID}/imagesfolderAdd new parameter in
ChapterScriptreturn object.{ "title": "", // title of chapter "content": "", // content "nextURL": "" "images": [ { "name": "{unique name here}", "url": "{url of the image to download}", }, ], }contentwill have html containing images, whosesrcvalue will be relative../data/novels/{NovelGUID}/images/{name}NovelGUIDmust be supplied to theChapterScript.