dteviot / WebToEpub

A simple Chrome (and Firefox) Extension that converts Web Novels (and other web pages) into an EPUB.
Other
740 stars 140 forks source link

Ranobes first page only #647

Closed RealNasty closed 3 years ago

RealNasty commented 3 years ago

It only fetches 25 latest chapters of the page

Link to novel https://ranobes.net/novels/1165550-divine-path-system.html

dteviot commented 3 years ago

@RealNasty You're probably running it in mobile mode. Try running it in desktop mode

RealNasty commented 3 years ago

@dteviot Tried it but it has the same behavior

dteviot commented 3 years ago

@RealNasty Apologies, looks like they've changed the site. Will need to update WebToEpub to match.

dteviot commented 3 years ago

For my notes, looks like it's inside the <script> element starting with"window.DATA = " There's a JSON object with layout

{
  "book_title": "Divine Path System",
  "book_link": "https://ranobes.net/novels/1165550-divine-path-system.html",
  "book_id": 1165550,
  "chapters": [
    {
      "id": "1614618",
      "title": "Chapter 206: I Am A Master At Reading Women's Emotions",
      "date": "2021-11-23 21:09:16",
      "showDate": "11 hours ago"
    },
    {
      "id": "1595314",
      "title": "Chapter 182: Hi, Charles",
      "date": "2021-11-13 00:23:13",
      "showDate": "11 days ago"
    }
  ],
  "pages_count": 9,
  "count_all": 207,
  "cstart": 1,
  "limit": 25,
  "search": "",
  "default": [],
  "searchTimeout": null
}

I'll see what I can do in the next few days.

dteviot commented 3 years ago

@RealNasty @SirGryphin Test versions for Firefox and Chrome have been uploaded to https://drive.google.com/drive/folders/1B_X2WcsaI_eg9yA-5bHJb8VeTZGKExl8?usp=sharing. Pick the one suitable for you, follow the "How to install from Source (for people who are not developers)" instructions at https://github.com/dteviot/WebToEpub/tree/ExperimentalTabMode#user-content-how-to-install-from-source-for-people-who-are-not-developers and let me know how it goes.

Tested with

For my notes: aprox 90 minutes work

taint-stack commented 3 years ago

It works, thanks

OS: Android Browser: Kiwi Version: 93.0

SirGryphin commented 3 years ago

Chrome test version working for me now 👍 thank you.

Arsur3215Loki commented 3 years ago

Would it also work with Opera? I'm using Opera GX.

SirGryphin commented 3 years ago

@Arsur3215Loki chrome extension should work, I've used other chrome extensions without a problem on Opera and Brave without problems.

Flwk commented 3 years ago

@dteviot Thank you very much ! :)

ziyanoffl commented 3 years ago

Just wanted to let you know that the previous test version that you gave to issue #562 worked too.

RealNasty commented 3 years ago

@dteviot works perfectly. thank you

dteviot commented 3 years ago

@RealNasty @SirGryphin @Flwk @ziyanoffl @Arsur3215Loki @taint-stack Updated version (0.0.0.144) has been submitted to Firefox and Chrome stores. Firefox version is available now. Chrome might be available in 1 to 3 weeks.