Skip to content

fix(zh.baozimanhua): switch to webmota mirror and allow base url selection - #817

Merged
kkantan merged 1 commit into
Aidoku-Community:mainfrom
dyphire:baozimanga
Oct 18, 2026
Merged

kkantan merged 1 commit into
Aidoku-Community:mainfrom
dyphire:baozimanga

Conversation

@dyphire

@dyphire dyphire commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

baozimh.com and its chapter server appcn.baozimh.com are now behind a gatekeeper JS challenge, causing all requests to fail (browsing showed "no results" and the list API threw a missing items JSON parse error from the 403 challenge body).

  • Switch default domain to www.webmota.com (ungated mirror, same API)
  • Update chapter reader path to /user/page_direct and image selector to amp-img.comic-contain__item to match the mirror's markup
  • Add allowsBaseUrlSelect so users can switch between mirror domains

Comment thread sources/zh.baozimanhua/src/html/mod.rs Outdated
Comment on lines 198 to 200
authors: Some(vec![artist]),
url: Some(format!("{}{}", BASE_URL, url)),
url: Some(format!("{}{}", base_url(), url)),
tags: Some(tags),

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.

MangaPageResults shouldn't contain data other than the key, cover, and title, unless they are for home components that display them. It's probably okay to have the url, but authors and tags should be avoided.

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.

Done

Comment thread sources/zh.baozimanhua/src/json/mod.rs Outdated
Comment on lines 64 to 66
authors: Some(vec![artist_str]),
url: Some(format!("{}/comic/{}", BASE_URL, key)),
url: Some(format!("{}/comic/{}", base_url(), key)),
tags: Some(categories),

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.

I have the same comment here. also, cloning key is not necessary.

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.

Done

…ction

baozimh.com and its chapter server appcn.baozimh.com are now behind a
gatekeeper JS challenge, causing all requests to fail (browsing showed
"no results" and the list API threw a missing `items` JSON parse error
from the 403 challenge body).

- Switch default domain to www.webmota.com (ungated mirror, same API)
- Update chapter reader path to /user/page_direct and image selector
  to amp-img.comic-contain__item to match the mirror's markup
- Add allowsBaseUrlSelect so users can switch between mirror domains
@kkantan
kkantan merged commit 02b7818 into Aidoku-Community:main Oct 18, 2026
3 checks passed
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