Skip to content

[Developer build 1.0.12.64] New ReadthedramaParser throwing errorContentNotFound #2681

@jj-burr

Description

@jj-burr

https://github.com/dteviot/WebToEpub/blame/a1beec104e649d8c1acfc24c3ef46fa83a0c5cee/plugin/js/parsers/ReadthedramaParser.js#L31

@nitramkh No success in pulling content with new ReadthedramaParser from experimental build 1.0.12.64 on Google Chrome
https://github.com/dteviot/WebToEpub/releases/tag/developer-build

Error screenshot below:
message from: errorContentNotFound
Image

My assumption is the findContent(dom) is unable to find the selector.

    /**
     * @param { Document } dom 
     */
    findContent(dom) {
        return dom.querySelector("article.chapter-text");
    }

Novel attempting to parse: https://www.readthedrama.com/novels/new-life-begins

I've tried updating the querySelector with no success. Several options was able to complete without throwing the "Could not find content" error but it parsed nothing within each chapter. Using some of the div.my-4 pulled only the site header image and bottom div

article.chapter text
.article p
article p
div.article
div.article p
div.my-4
div.my-4 *
my-4 *
[aria-label='Chapter text']
[aria-label*='Chapter text']
[aria-label*='Chapter']
article[aria-label='Chapter text']
article[aria-label*='Chapter']
div[aria-label='Chapter text']

note: i also tried case insensitive options and lowercased versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions