Skip to content

Fix/wtrlab chapter urls and api errors - #3138

Closed
chaudhary-lakshay wants to merge 2 commits into
dteviot:ExperimentalTabModefrom
chaudhary-lakshay:fix/wtrlab-chapter-urls-and-api-errors
Closed

chaudhary-lakshay wants to merge 2 commits into
dteviot:ExperimentalTabModefrom
chaudhary-lakshay:fix/wtrlab-chapter-urls-and-api-errors

Conversation

@chaudhary-lakshay

@chaudhary-lakshay chaudhary-lakshay commented Nov 11, 2026 •

Copy link
Copy Markdown

Summary

Improves WTR-Lab chapter downloading and error handling.

Users have reported downloads getting stuck on Chapter 1 without progressing. WTR-Lab uses a two-step API to retrieve chapters, and downloads can fail when the server returns an incomplete response or requires CAPTCHA verification.

Changes

  • Added validation for chapter lists and API responses.
  • Added clearer errors for missing chapter content and CAPTCHA verification.
  • Added validation for the returned chapter content URL.
  • Fixed novel slug parsing when opening WebToEpub from a chapter URL.
  • Added regression tests for URL parsing, chapter lists, and invalid API responses.

Related issues

@gamebeaker

gamebeaker commented Nov 11, 2026 •

Copy link
Copy Markdown
Collaborator

@chaudhary-lakshay what changes did you make? I think your code does nothing at all. All issues you linked are also marked as completed. I think you used ai and didn't even sanity check the output. The next time you use ai please use the AGENTS.md file.

Added validation for chapter lists and API responses.

No you didn't

Added clearer errors for missing chapter content and CAPTCHA verification.

No as the error isn't correctly handled.

Added validation for the returned chapter content URL.

No you didn't

Fixed novel slug parsing when opening WebToEpub from a chapter URL.

was already implemented so also a no.

Added regression tests for URL parsing, chapter lists, and invalid API responses.

Not neccessary

If you want to know more about why the code didn't do what you wrote you can ask here and i will elaborate. Please only do this if you want to learn and not just to waste my time e.g. copy pasting my explanation in ai so it can "correct" the non issues.

@gamebeaker gamebeaker closed this Nov 11, 2026
@gamebeaker gamebeaker reopened this Nov 11, 2026
@gamebeaker gamebeaker closed this Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants