ReadAllComics: fix selector (#17190)

This commit is contained in:
AwkwardPeak7 2023-07-21 07:06:50 +05:00 committed by GitHub
parent a5f7456df4
commit 8fd8a31db3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -17,6 +17,8 @@ class ReadAllComicsCom : ReadAllComics("ReadAllComics", "https://readallcomics.c
}
}
override fun pageListSelector() = "body img:not(body div[id=\"logo\"] img)"
companion object {
private val titleRegex = Regex("""^([a-zA-Z_.\s\-:]*)""")
}

View File

@ -12,7 +12,7 @@ class ReadAllComicsGenerator : ThemeSourceGenerator {
override val baseVersionCode: Int = 1
override val sources = listOf(
SingleLang("ReadAllComics", "https://readallcomics.com", "en", className = "ReadAllComicsCom"),
SingleLang("ReadAllComics", "https://readallcomics.com", "en", className = "ReadAllComicsCom", overrideVersionCode = 1),
SingleLang("ReadAllManga", "https://readallmanga.com", "en"),
)