WebToEpub icon indicating copy to clipboard operation
WebToEpub copied to clipboard

Add a 'Parse After 10-Second Delay' Option in Advanced Settings

Open Charity29614 opened this issue 1 year ago • 1 comments

There is a recurring issue when attempting to parse (download) chapters from certain websites. Specifically, these sites load their initial structure quickly, but the actual "Text Content" appears only after a delay of approximately 10 seconds.

One potential solution is to introduce a "Delay" feature in Advanced settings. This feature would allow the application to wait 10 seconds or so after the site has loaded before beginning the parsing process. By doing so, the delayed text would have time to load, ensuring the chapters are parsed correctly.

Another approach would be to integrate this delay directly into the parsing logic for the affected websites. However, since many websites exhibit this behavior, it would be more efficient to include this delay as an option within the "Advanced settings" of the application.

Websites such as Storyseedling.com do this

Charity29614 avatar Nov 29 '24 18:11 Charity29614

@Charity29614 that is not possible with the way WebToEpub works at the moment. The website with the content isn't loaded/ rendered in any way. Example: Go to https://github.com/ -> right click -> inspect -> choose Network -> reload the page The first request/ response you see in the Network tab is what WebToEpub downloads (nothing else) and tries to find the content. A possible solution to this problem (help wanted) is mentioned here https://github.com/dteviot/WebToEpub/issues/1479#issuecomment-2342163478

gamebeaker avatar Dec 02 '24 18:12 gamebeaker