Skip to content

OkuToon: fix chapter list and status parsing - #20387

Merged
AwkwardPeak7 merged 1 commit into
keiyoushi:mainfrom
uwukalsa:fix-okutoon-chapters
Oct 25, 2026
Merged

AwkwardPeak7 merged 1 commit into
keiyoushi:mainfrom
uwukalsa:fix-okutoon-chapters

Conversation

@uwukalsa

@uwukalsa uwukalsa commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Fixes chapter list and manga status parsing in src/tr/okutoon, which broke after a site redesign on okutoon.com.

Changes:

  • Chapter entries are no longer <a class="chapter-item">; they are now <div class="chapter-item"> wrapping a <a class="chapter-item-link">. Updated chapterListParse accordingly (verified against live HTML: 359/359 chapters found).
  • Status badge moved from .series-detail-meta .badge-* text to .series-detail-kicker .series-status modifier classes (series-status--ongoing/--completed), and the label changed to "Devam ediyor".

versionCode bumped to 1.

🤖 This PR was opened by an AI agent. a user reported the OkuToon (tr) source failing to load chapters; the selectors were updated accordingly. I have manually reviewed and confirmed the changes. The modifications were compiled (assembleRelease) and the fix was verified against the live site HTML.

setUrlWithoutDomain(element.attr("abs:href"))
name = element.selectFirst(".chapter-title")?.text() ?: element.text()
setUrlWithoutDomain(element.selectFirst("a.chapter-item-link")!!.attr("abs:href"))
name = element.selectFirst(".chapter-title")?.text() ?: ""

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name is mandatory, you can throw on null

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did not push?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did not push?

i did ? wiat letme check

@uwukalsa
uwukalsa force-pushed the fix-okutoon-chapters branch from f40fea8 to f68edcb Compare October 25, 2026 13:13
@uwukalsa

Copy link
Copy Markdown
Contributor Author

Fixed: chapter title is now mandatory (), so it throws on null instead of falling back to empty string. Pushed to the same branch; CI will re-run.

- chapters moved from <a class=chapter-item> to <div class=chapter-item> wrapping <a class=chapter-item-link>
- status is now a .series-status modifier class, text changed to match
@uwukalsa
uwukalsa force-pushed the fix-okutoon-chapters branch from f68edcb to deeb301 Compare October 25, 2026 13:26
@uwukalsa

Copy link
Copy Markdown
Contributor Author

Fixed reviewer feedback: chapter title is now mandatory () so it throws on null instead of falling back to empty string. Same branch, force-pushed; CI will re-run.

@AwkwardPeak7
AwkwardPeak7 merged commit f1edb03 into keiyoushi:main Oct 25, 2026
20 checks passed
@uwukalsa
uwukalsa deleted the fix-okutoon-chapters branch October 25, 2026 13:32
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