Skip to content

Conversation

@skbeh
Copy link
Contributor

@skbeh skbeh commented Sep 4, 2025

This commit refactors the Bilibili URL construction by introducing a new createUrlWithPage function.

This function centralizes the logic for adding the p query parameter to Bilibili URLs, and only adds it when the page number is not "1".

This commit refactors the Bilibili URL construction by introducing a new `createUrlWithPage` function.

This function centralizes the logic for adding the `p` query parameter to Bilibili URLs, and only adds it when the page number is not "1".
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.

1 participant