Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add hanmanwuzhe source #5099

Merged
merged 4 commits into from
Nov 7, 2024
Merged

Conversation

heagan01
Copy link
Contributor

Closes #5086

Checklist:

  • Updated extVersionCode value in build.gradle for individual extensions
  • Updated overrideVersionCode or baseVersionCode as needed for all multisrc extensions
  • Referenced all related issues in the PR body (e.g. "Closes #xyz")
  • Added the isNsfw = true flag in build.gradle when appropriate
  • Have not changed source names
  • Have explicitly kept the id if a source's name or language were changed
  • Have tested the modifications by compiling and running the extension through Android Studio
  • Have removed web_hi_res_512.png when adding a new extension

return GET(page.imageUrl!!, newHeaders)
}

private class Genre(name: String, val id: String = name) : Filter.CheckBox(name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a question, why use CheckBox if only one genre can be chosen?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really know the functions, sorry 😅, is there a function for a radio button?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use Filter.Select to create drop-down list.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, will try

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this alright?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Emmm, I would suggest using Pair so you can put genre name and url in the same array. You can read code of other extensions, like manhuaren or zerobyw

@stevenyomi
Copy link
Contributor

This site is MCCMS, I'll review later.

@stevenyomi stevenyomi marked this pull request as draft September 18, 2024 12:09
@heagan01
Copy link
Contributor Author

are there any updates for this? @stevenyomi

@AwkwardPeak7
Copy link
Contributor

@heagan01 you should move this to MCCMS multisrc as steven pointed out

@heagan01
Copy link
Contributor Author

heagan01 commented Nov 3, 2024

I've done it, are there any changes needed?

@AwkwardPeak7 AwkwardPeak7 marked this pull request as ready for review November 4, 2024 13:09
Comment on lines 17 to 19
// Details and chapter pages are broken
override fun getMangaUrl(manga: SManga) = baseUrl
override fun getChapterUrl(chapter: SChapter) = baseUrl
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

broken how? I just tested and should work fine

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i copy pasted the code from other extension (DidaManhua)

@AwkwardPeak7 AwkwardPeak7 merged commit adc6d00 into keiyoushi:main Nov 7, 2024
23 checks passed
stevenyomi added a commit that referenced this pull request Nov 7, 2024
stevenyomi added a commit that referenced this pull request Nov 7, 2024
Revert "Add hanmanwuzhe source (#5099)"

This reverts commit adc6d00.
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add source: 韩漫无遮挡 / hanmanwuzhe
4 participants