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

added source MangaWorld #843

Merged
merged 1 commit into from
Jun 22, 2024
Merged

Conversation

NagaYZ
Copy link
Contributor

@NagaYZ NagaYZ commented Jun 17, 2024

Closes #840, Closes #663, Closes #438, Closes #817

is MangaListFilter.Advanced -> {

if (filter.tags.isNotEmpty()) {
println(filter.tags)
Copy link
Member

Choose a reason for hiding this comment

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

Remove

Comment on lines +36 to +37
val tags = filter.tags.joinToString("&") {it.key.substringAfter("archive?") }
append(tags)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
val tags = filter.tags.joinToString("&") {it.key.substringAfter("archive?") }
append(tags)
filter.tags.joinTo(this, "&") {it.key.substringAfter("archive?") }

MangaState.FINISHED -> append("&status=completed")
MangaState.ABANDONED -> append("&status=dropped")
MangaState.PAUSED -> append("&status=paused")
else -> append("")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
else -> append("")
else -> Unit

}

}
null -> append("")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
null -> append("")
null -> Unit

altTitle = null,
rating = RATING_UNKNOWN,
tags = tags,
author = div.selectFirst(".author a")?.text(),
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
author = div.selectFirst(".author a")?.text(),
author = div.selectFirst(".author a")?.textOrNull(),

@Koitharu Koitharu merged commit 7de4839 into KotatsuApp:master Jun 22, 2024
1 check 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.

Mangaworld Source Request to add a source Source Request Mangaworld Source Request: Mangaworld.ac
2 participants