Skip to content

feat: add zh.bilinovel - #819

Merged
kkantan merged 1 commit into
Aidoku-Community:mainfrom
dyphire:bilinovel
Oct 22, 2026
Merged

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

Conversation

@dyphire

@dyphire dyphire commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Light novel source for bilinovel.com (哔哩轻小说).

  • search via jieqi search ticket, wenku filter listings and home page (banner, hero picks, new arrivals, completed works, ranked list)
  • chapter text is paginated and paragraph-shuffled: fetch fragments in parallel batches and restore the order with parameters extracted from the site's chapterlog script
  • chapter list follows the catalog reading order (volume 1 first)

Comment thread sources/zh.bilinovel/src/home.rs Outdated
Comment thread sources/zh.bilinovel/src/html.rs Outdated
Comment thread sources/zh.bilinovel/src/html.rs Outdated
Comment thread sources/zh.bilinovel/src/lib.rs Outdated
Comment thread sources/zh.bilinovel/src/lib.rs Outdated
Comment thread sources/zh.bilinovel/src/html.rs Outdated
Comment thread sources/zh.bilinovel/src/html.rs Outdated
Comment thread sources/zh.bilinovel/src/lib.rs Outdated
Comment thread sources/zh.bilinovel/src/net.rs
Comment thread sources/zh.bilinovel/Cargo.toml Outdated
Comment thread sources/zh.bilinovel/src/net.rs Outdated
Comment thread sources/zh.bilinovel/src/net.rs Outdated
Comment thread sources/zh.bilinovel/src/html.rs Outdated
Comment thread sources/zh.bilinovel/src/lib.rs Outdated

@kkantan kkantan left a comment

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'm not able to load the two latest chapters for 不相容的異種族妻子們 in the source. why is this the case?

Comment thread sources/zh.bilinovel/src/home.rs Outdated
Comment on lines +135 to +136
width: None,
height: None,

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.

is it possible to set this? the banners appear to have a consistent size, and setting the dimensions makes the preloading smoother.

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.bilinovel/src/home.rs Outdated
image_url: img.attr("src"),
value: anchor
.attr("href")
.map(|href| LinkValue::Url(absolute_url(&href))),

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.

if this is a link to a series could you use LinkValue::Manga instead, with just the key?

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

@dyphire

dyphire commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

I'm not able to load the two latest chapters for 不相容的異種族妻子們 in the source. why is this the case?

第242話 亞當與他的弟妹們(完) — a real bug, now fixed. The catalogue lists this chapter as a placeholder (javascript:cid(1)), so the source resolves it through the volume page (/novel/5340/vol_341456.html). That resolution was broken: volume_chapter selected .volume-chapters li.jsChapter, but volume pages render their chapter list in a .module-content block, so the selector never matched and every placeholder chapter errored out. The selector is now just li.jsChapter a[href], and I verified end-to-end that this chapter resolves to 341486 and loads its full text.

第241話 參戰(3) — withheld by the site itself. The chapter page serves #acontent with only 沒有可閱讀的章節/內容可能審核未通過或需要足夠的權限 ("no readable chapter — content may be under review or require sufficient permissions"), i.e. there is no text to fetch at all. The source reports this as an empty chapter, which is the expected behavior for a chapter the site doesn't serve.

Light novel source for bilinovel.com (哔哩轻小说).

- search via jieqi search ticket, wenku filter listings and home page
  (banner, hero picks, new arrivals, completed works, ranked list)
- chapter text is paginated and paragraph-shuffled: fetch fragments in
  parallel batches and restore the order with parameters extracted from
  the site's chapterlog script
- chapter list follows the catalog reading order (volume 1 first)
@kkantan
kkantan merged commit b75244c into Aidoku-Community:main Oct 22, 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