WebToEpub icon indicating copy to clipboard operation
WebToEpub copied to clipboard

unable to DL some chapter https://wtr-lab.com/en/serie-8003/attributes-are-infinitely-increasing-i-dominate-multiple

Open Finks82 opened this issue 1 year ago • 1 comments

https://wtr-lab.com/en/serie-8003/attributes-are-infinitely-increasing-i-dominate-multiple

ch 350+ unable to download

Finks82 avatar Aug 20 '24 10:08 Finks82

more context: image It looks like this website translates the Chapter on the fly the first time someone opens it. After the first translation it gets cached on the server and WebToEpub can get them. The Chapter needs to be opened in a tab before WebToEpub can download it. I think after Chapter 360 you can see this problem. Here are screenshots how it looks if you are the first person to open a Chapter: image image image

gamebeaker avatar Aug 20 '24 11:08 gamebeaker

They're adding AI to this now. I don't think this problem can be fixed on the extension's end no more. It's good quality, sure, but man, I just want to listen to them instead of reading.

Phaethonix avatar Feb 19 '25 07:02 Phaethonix

Making this change lets the extensions still work to download epub.

modified   plugin/js/parsers/WtrlabParser.js
@@ -10,7 +10,7 @@ class WtrlabParser extends Parser{
     async getChapterUrls(dom) {
         let items = [...dom.querySelectorAll("div.accordion a.chapter-item")];
         return items.map(a => ({
-            sourceUrl:  a.href,
+            sourceUrl:  a.href + '?service=google',
             title: this.formatTitle(a)
         }));

I dont think this is the right solution though.

vigneshsarma avatar Mar 17 '25 07:03 vigneshsarma

@vigneshsarma you can make a pull request if you have a solution.

gamebeaker avatar Mar 17 '25 08:03 gamebeaker

@Finks82 problem got fixed. Each chapter that is new has a delay from 10s. Test versions for Firefox and Chrome have been uploaded to https://github.com/dteviot/WebToEpub/releases/tag/developer-build. Pick the one suitable for you, follow the "How to install from Source" instructions at https://github.com/dteviot/WebToEpub/tree/ExperimentalTabMode#user-content-installation and let me know how it goes.

gamebeaker avatar Apr 26 '25 17:04 gamebeaker

@Finks82

Updated version (1.0.5.0) has been submitted to Firefox and Chrome stores. Firefox version is available now. Chrome might be available in a few hours (typical) to 21 days.

dteviot avatar Apr 27 '25 05:04 dteviot