Code Monkey home page Code Monkey logo

Comments (3)

dteviot avatar dteviot commented on July 18, 2024

@satiricalnightmare

  1. Re: chrysanthemum garden jumbling text: #967
  2. I am not aware of any chapters on ChrysanthemumGarden that require passwords. I'm not prepared to go hunting on the site looking for them either. If you want me to investigate, you'll need to provide me with multiple examples of story and chapter with issues.
  3. I'm also not aware of passwords required for peachpitting.com. So, links or it doesn't happen.

from webtoepub.

satiricalnightmare avatar satiricalnightmare commented on July 18, 2024

Of course!
here’s a few

https://peachpitting.com/novel/fp/fp-15/

https://chrysanthemumgarden.com/novel-tl/soft/soft-18/

Here’s one from each site. Usually they have the first few unlocked as a preview and then have passwords for later chapters. Peachpitting sometimes requires different passwords for different parts in the novel. So this is the same novel as above, but requires a different password.

https://peachpitting.com/novel/fp/fp-123/

from webtoepub.

dteviot avatar dteviot commented on July 18, 2024

@satiricalnightmare
Without passwords, it's hard to be sure, but I suspect basic process, at least for ChrysanthemumGarden would be to customize fetchChapter() for that parser. Logic would be something like:

  1. Fetch chapter from normal URL.
  2. If content includes a form with id of "password-lock"
  3. POST a form with the password.
  4. I'd expect the response from the POST request to be a chapter with the actual desired text.
    https://developer.mozilla.org/en-US/docs/Learn/Forms/Sending_and_retrieving_form_data

I note the form on the site says:

Due to a recent event, we're temporarily locking some of the novels on our site.

So, you could just wait until the chapters are unlocked.

Peachpitting would probably be something similar, although I'm not sure how you'd know which password to use for a chapter.
Note that the rules for this site for getting a password include promising you won't try to create an epub from the site. So, having WebToEpub able to do this would probably violate Google's rules for Chrome apps.

from webtoepub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.