WebToEpub
WebToEpub copied to clipboard
Add site https://www.sofanovel.com/
https://www.sofanovel.com/
@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
- Need to call a URL like: https://srv.sofanovel.com/chapter/newGet?bookID=1_7211a990-4a97-413c-b93d-9197b139b0a3&chapterID=1
- This will return JSON. get field anyData.szContentURL (a URL)
- 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.)