dteviot / WebToEpub

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

Error (cannot read properties of null) in https://reaperscans.com/ #1403

Open H4n4n opened 2 months ago

H4n4n commented 2 months ago

Describe the bug When i use the extension on this link "https://reaperscans.com/series/the-divine-hunter", this error message appears error1

and after that the page get stuck like the following image error2

To Reproduce Steps to reproduce the behavior:

  1. Go to 'https://reaperscans.com/series/the-divine-hunter'
  2. Click on 'the button of the extension'
  3. The error i explained happens

Expected behavior the extension should work and get the chapters of the page

Screenshots error1 error2

Desktop (please complete the following information):

dteviot commented 2 months ago

@H4n4n @chaitanya44444

Removing support for site https://reaperscans.com/. Layout has changed. Text for chapters is now buried in script elements. Too much work for me to decode in WebToEpub. (Aside, also, not able to walk the table of contents either.)

Note https://github.com/dteviot/WebToEpub/issues/1064 as duplicate

For my notes: 27 minutes work

gamebeaker commented 2 months ago

@H4n4n for manga sites i would recomend haruneko.

H4n4n commented 2 months ago

The site has manga and novels. Does it works if I want only to download an epub of the novel? @gamebeaker

gamebeaker commented 2 months ago

@H4n4n i don't think so. I use it to download the pictures from mangas.

H4n4n commented 2 months ago

@gamebeaker Thanks anyway.

X-Xadro commented 2 months ago

Ranobes has that story as well not sure if they have reaperscans translation but you can check it out. https://ranobes.top/novels/1076426-the-divine-hunter-v741610.html

gamebeaker commented 2 months ago

they have a api here are some things i quickly found out. org. url: https://reaperscans.com/series/the-divine-hunter to get info for the book call https://api.reaperscans.com/series/the-divine-hunter in the response is a id and chapters_count which is needed to get the chapters with https://api.reaperscans.com/chapter/query?page=1&perPage=637&series_id=198

no real url: https://api.reaperscans.com/chapter/query?page=1&perPage=chapters_count&series_id=id