Skip to content

feat: add ko.blacktoon - #894

Open
joshuaclash08 wants to merge 4 commits into
Aidoku-Community:mainfrom
joshuaclash08:feat/ko.blacktoon
Open

joshuaclash08 wants to merge 4 commits into
Aidoku-Community:mainfrom
joshuaclash08:feat/ko.blacktoon

Conversation

@joshuaclash08

Copy link
Copy Markdown
Contributor

ported from Keiyoushi's Blacktoon extension.

Features

  • Sorting filter Weekday (월~일, 열흘, 완결), Genre (22 categories).
  • Full chapter listing with reverse order, upload date parsing, and tags/status extraction.
  • Domain configuration and automatic URL redirect updater button.

Checklist

  • The source can be compiled without any warnings or errors.
  • cargo fmt has been run before submission.
  • cargo clippy outputs no lint warnings.
  • All files have an additional newline at the end.
  • JSON files use tabs for indentation.

Copilot AI balanced review requested due to automatic review settings November 11, 2026 17:19

This comment was marked as spam.

@kkantan kkantan changed the title feat(ko.blacktoon): add source feat: add ko.blacktoon Nov 11, 2026
Comment thread sources/ko.blacktoon/src/models.rs Resolved
Comment thread sources/ko.blacktoon/src/lib.rs Resolved
Comment thread sources/ko.blacktoon/src/lib.rs Resolved
Comment thread sources/ko.blacktoon/res/icon.png Resolved
},
{
"type": "select",
"id": "genre",

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.

this should set "isGenre": true.

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.

this wasn't set?

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.

this still needs to set isGenre to true.

Comment thread sources/ko.blacktoon/res/source.json Resolved
Comment thread sources/ko.blacktoon/res/settings.json Resolved
Comment thread sources/ko.blacktoon/src/helpers.rs Resolved
Comment thread sources/ko.blacktoon/src/lib.rs Resolved
Comment thread sources/ko.blacktoon/src/lib.rs Resolved
Comment thread sources/ko.blacktoon/src/lib.rs Resolved
@joshuaclash08
joshuaclash08 marked this pull request as draft November 17, 2026 05:17
@joshuaclash08
joshuaclash08 marked this pull request as ready for review November 17, 2026 05:17
},
{
"type": "select",
"id": "genre",

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.

this wasn't set?

Comment thread sources/ko.blacktoon/src/lib.rs Outdated
has_weekday = true;
}
if let Some(text) = node.text() {
let t = text.trim();

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.

text() already returns a trimmed result, so this is unnecessary.

Comment thread sources/ko.blacktoon/src/helpers.rs Outdated
}

pub fn extract_chapter_number(title: &str) -> Option<f32> {
let (before, _) = title.split_once('화')?;

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.

titles can contain the 화 character regularly, right? I think you probably want to split from the last occurrence rather than the first.

This branch has not been deployed

No deployments
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.

3 participants