ReadComicOnline: update domain(#6515) and add new filter options (#6518)

Updated domain from .to to .li and added Sports and Music to filter
This commit is contained in:
João Filipe Araújo 2021-04-12 22:15:25 +01:00 committed by GitHub
parent 8869d56b6f
commit c0acfe6b5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ext {
extName = 'ReadComicOnline' extName = 'ReadComicOnline'
pkgNameSuffix = 'en.readcomiconline' pkgNameSuffix = 'en.readcomiconline'
extClass = '.Readcomiconline' extClass = '.Readcomiconline'
extVersionCode = 9 extVersionCode = 10
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -29,7 +29,7 @@ class Readcomiconline : ConfigurableSource, ParsedHttpSource() {
override val name = "ReadComicOnline" override val name = "ReadComicOnline"
override val baseUrl = "https://readcomiconline.to" override val baseUrl = "https://readcomiconline.li"
override val lang = "en" override val lang = "en"
@ -149,7 +149,7 @@ class Readcomiconline : ConfigurableSource, ParsedHttpSource() {
) )
// $("select[name=\"genres\"]").map((i,el) => `Genre("${$(el).next().text().trim()}", ${i})`).get().join(',\n') // $("select[name=\"genres\"]").map((i,el) => `Genre("${$(el).next().text().trim()}", ${i})`).get().join(',\n')
// on https://readcomiconline.to/AdvanceSearch // on https://readcomiconline.li/AdvanceSearch
private fun getGenreList() = listOf( private fun getGenreList() = listOf(
Genre("Action"), Genre("Action"),
Genre("Adventure"), Genre("Adventure"),
@ -174,6 +174,7 @@ class Readcomiconline : ConfigurableSource, ParsedHttpSource() {
Genre("Mature"), Genre("Mature"),
Genre("Military"), Genre("Military"),
Genre("Movies & TV"), Genre("Movies & TV"),
Genre("Music"),
Genre("Mystery"), Genre("Mystery"),
Genre("Mythology"), Genre("Mythology"),
Genre("Personal"), Genre("Personal"),
@ -187,6 +188,7 @@ class Readcomiconline : ConfigurableSource, ParsedHttpSource() {
Genre("School Life"), Genre("School Life"),
Genre("Sci-Fi"), Genre("Sci-Fi"),
Genre("Slice of Life"), Genre("Slice of Life"),
Genre("Sport"),
Genre("Spy"), Genre("Spy"),
Genre("Superhero"), Genre("Superhero"),
Genre("Supernatural"), Genre("Supernatural"),