Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature to download in-chapter images #9

Open
gmastergreatee opened this issue Sep 18, 2022 · 0 comments
Open

Feature to download in-chapter images #9

gmastergreatee opened this issue Sep 18, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@gmastergreatee
Copy link
Owner

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.
@gmastergreatee gmastergreatee added enhancement New feature or request priority:high This wiil be fixed ASAP labels Sep 18, 2022
@gmastergreatee gmastergreatee removed the priority:high This wiil be fixed ASAP label Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant