fix: some scanlators not showing
This commit is contained in:
parent
0779c0ca71
commit
e41ab2ddac
1 changed files with 4 additions and 4 deletions
|
@ -38,7 +38,7 @@ abstract class WatchSources : BaseSources() {
|
||||||
tryWithSuspend(true) {
|
tryWithSuspend(true) {
|
||||||
if (sAnime != null) {
|
if (sAnime != null) {
|
||||||
parser.loadEpisodes(showLink, extra, sAnime).forEach {
|
parser.loadEpisodes(showLink, extra, sAnime).forEach {
|
||||||
map[it.number] = Episode(
|
map["${it.number}-${it.hashCode()}"] = Episode(
|
||||||
it.number,
|
it.number,
|
||||||
it.link,
|
it.link,
|
||||||
it.title,
|
it.title,
|
||||||
|
@ -51,7 +51,7 @@ abstract class WatchSources : BaseSources() {
|
||||||
}
|
}
|
||||||
} else if (parser is OfflineAnimeParser) {
|
} else if (parser is OfflineAnimeParser) {
|
||||||
parser.loadEpisodes(showLink, extra, SAnime.create()).forEach {
|
parser.loadEpisodes(showLink, extra, SAnime.create()).forEach {
|
||||||
map[it.number] = Episode(
|
map["${it.number}-${it.hashCode()}"] = Episode(
|
||||||
it.number,
|
it.number,
|
||||||
it.link,
|
it.link,
|
||||||
it.title,
|
it.title,
|
||||||
|
@ -90,7 +90,7 @@ abstract class MangaReadSources : BaseSources() {
|
||||||
show.sManga?.let { sManga ->
|
show.sManga?.let { sManga ->
|
||||||
tryWithSuspend(true) {
|
tryWithSuspend(true) {
|
||||||
parser.loadChapters(show.link, show.extra, sManga).forEach {
|
parser.loadChapters(show.link, show.extra, sManga).forEach {
|
||||||
map[it.number] = MangaChapter(it)
|
map["${it.number}-${it.hashCode()}"] = MangaChapter(it)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@ abstract class MangaReadSources : BaseSources() {
|
||||||
tryWithSuspend(true) {
|
tryWithSuspend(true) {
|
||||||
// Since we've checked, we can safely cast parser to OfflineMangaParser and call its methods
|
// Since we've checked, we can safely cast parser to OfflineMangaParser and call its methods
|
||||||
parser.loadChapters(show.link, show.extra, SManga.create()).forEach {
|
parser.loadChapters(show.link, show.extra, SManga.create()).forEach {
|
||||||
map[it.number] = MangaChapter(it)
|
map["${it.number}-${it.hashCode()}"] = MangaChapter(it)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue