WebToEpub icon indicating copy to clipboard operation
WebToEpub copied to clipboard

Add site https://www.sofanovel.com/

Open sigmatc opened this issue 4 years ago • 1 comments

https://www.sofanovel.com/

sigmatc avatar Dec 05 '20 09:12 sigmatc

@sigmatc This site looks like it will be difficult to write a parser for. I might spend another hour or two trying to figure it out, but to be honest, I'm not willing to spend much more time on it.

Notes to myself: To get text for a chapter

  1. Need to call a URL like: https://srv.sofanovel.com/chapter/newGet?bookID=1_7211a990-4a97-413c-b93d-9197b139b0a3&chapterID=1
  2. This will return JSON. get field anyData.szContentURL (a URL)
  3. Call URL from previous step. Will retturn raw text. Text seems to be doing some funky escaping of non ASCI characters. (I hypothesize, they start with a '&', then two bytes)

Getting the book ID, looks like need to call: https://srv.sofanovel.com/bookinfo/book?nType=3&szNameKey=from-the-other-side&nNeedThrdTypeData=0 (Where to get THAT URL from still needs to be figured out.)

dteviot avatar Dec 07 '20 19:12 dteviot