dteviot / WebToEpub

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

Please add site https://metruyencv.com/truyen/tong-man-tu-vo-thuong-chi-ton-bat-dau-xuyen-qua-hanh-trinh #1489

Open Samirbsnajh opened 6 days ago

Samirbsnajh commented 6 days ago

Please note, I'm basically the only developer working on WebToEpub, and I'm not paid for doing this. (WebToEpub is completely free, and generates no money.) By asking to add a site, you're asking me to give you some of my limited free time. So, I think it's not unreasonable for me to ask you to do as much as you can to help me.

Provide URL for web page that contains Table of Contents (list of chapters) of a typical story on the site

Did you try using the Default Parser for the site? If not, why not?

Instructions for using the default parser can be found at https://dteviot.github.io/Projects/webToEpub_DefaultParser.html

What settings did you use? What didn't work?

If the Default Parser did not work, if you have developer skills, did you try writing a new parser?

Instructions https://dteviot.github.io/Projects/webToEpub_FAQ.html#write-parser

If you don't have developer skills, can you ask a friend who does have them if they can do it for you?

If you tried writing a parser, and it doesn't work. Attach the parser here.

dteviot commented 2 days ago

@Samirbsnajh

Site requires login to get chapter content.

Some notes, if I ever revist.

  1. "Cover" page of a novel. https://metruyencv.com/truyen/vo-dao-nhan-tien-cua-the-gioi-hien-dai
  2. To get chapters, need to call https://backend.metruyencv.com/api/chapters?filter%5Bbook_id%5D=123985&filter%5Btype%5D=published, this returns JSON
  3. book_id can be found in <script> element with JSON "window.bookData = "
  4. Chapter URLs are of form https://metruyencv.com/truyen/la-gan-thanh-nhan-gian-vo-thanh/chuong-334
  5. Looks like the "334" is index value from ToC
  6. Chapter content requires a logon

Time taken: 23 minutes