Skip to content

fix(en.aquamanga): full source rebuild for aquareader.org - #666

Open
z3niith wants to merge 11 commits into
Aidoku-Community:mainfrom
z3niith:fix-en.aquamanga
Open

fix(en.aquamanga): full source rebuild for aquareader.org#666
z3niith wants to merge 11 commits into
Aidoku-Community:mainfrom
z3niith:fix-en.aquamanga

Conversation

@z3niith

@z3niith z3niith commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Site migrated from aquareader.net (Madara) to aquareader.org (custom
frontend over Madara backend). Rebuilt home page parsing from scratch
using DevTools-verified selectors.

  • Icon updated

Home page:

  • Popular Today: BigScroller from .aqua-hero-slide (5 hero slides)
    with description (.aqua-hero-slide__excerpt) and genres
    (.aqua-hero-slide__genre)
  • Latest Updates: MangaChapterList from .aqua-latest-section
    .aqua-manga-card with chapter name (.aqua-chapter-pill__name),
    chapter key (a.aqua-chapter-pill href), and relative date
    (.aqua-chapter-pill__time)
  • New Series: Scroller from .aqua-new-series-section
  • Popular Series: Scroller from a.aqua-popular-card

Manga detail page (custom selectors overriding Madara defaults):

  • Title: h1.aqua-series-info__title
  • Cover: [class*='cover'] img
  • Author/Artist: .aqua-series-info__creator-value
  • Description: .aqua-series-synopsis
  • Genres: .aqua-series-genres a
  • Status: .aqua-series-meta__status

Chapter loading:

  • Enabled use_new_chapter_endpoint (POST to {manga}/ajax/chapters/)
    since manga-chapters-holder data-id element no longer exists

Filter URLs:

  • Sort: m_orderby param (latest/views/new-manga/alphabet)
  • Status: manga_status param (on-going/end) instead of status[]
  • Genre: genre param for browse, genre[] for search

Source URL updated to aquareader.org, version bumped to 2

@z3niith
z3niith marked this pull request as ready for review August 2, 2026 22:25
Comment on lines +202 to +203
page_str = page.to_string();
let _ = &page_str;

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.

what is this for?

@z3niith z3niith Aug 3, 2026

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.

a workaround used to suppress an unused variable warning, though it can be removed and replaced with
page_str

Comment on lines +165 to +184
if has_search {
let mut qs = QueryParameters::new();
qs.push("s", Some(&query_str));
qs.push("post_type", Some("wp-manga"));
if let Some(s) = status {
qs.push("manga_status", Some(s));
}
for genre in &genres {
qs.push("genre[]", Some(genre));
}
let page_str;
let url = if page <= 1 {
format!("{}/page/1/?{qs}", BASE_URL)
} else {
page_str = page.to_string();
let _ = &page_str;
format!("{}/page/{page}/?{qs}", BASE_URL)
};
return parse_manga_list(&url);
}

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.

it looks like the /manga endpoint can just be given a search query parameter, so you shouldn't need to use a separate page for this.

@kkantan kkantan linked an issue Aug 4, 2026 that may be closed by this pull request
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.

Aquareader.org

2 participants