[ReadComicOnline] Switch to https so searching works (#387)

[ReadComicOnline] Switch to https so searching works
This commit is contained in:
Logan B 2018-07-09 02:56:55 +12:00 committed by Carlos
parent be844c67a8
commit 7a78b3bdc9
2 changed files with 5 additions and 5 deletions

View File

@ -5,8 +5,8 @@ ext {
appName = 'Tachiyomi: ReadComicOnline' appName = 'Tachiyomi: ReadComicOnline'
pkgNameSuffix = "en.readcomiconline" pkgNameSuffix = "en.readcomiconline"
extClass = '.Readcomiconline' extClass = '.Readcomiconline'
extVersionCode = 2 extVersionCode = 3
extVersionSuffix = 1 extVersionSuffix = 2
libVersion = '1.2' libVersion = '1.2'
} }

View File

@ -17,7 +17,7 @@ class Readcomiconline : ParsedHttpSource() {
override val name = "ReadComicOnline" override val name = "ReadComicOnline"
override val baseUrl = "http://readcomiconline.to" override val baseUrl = "https://readcomiconline.to"
override val lang = "en" override val lang = "en"
@ -34,7 +34,7 @@ class Readcomiconline : ParsedHttpSource() {
} }
override fun latestUpdatesRequest(page: Int): Request { override fun latestUpdatesRequest(page: Int): Request {
return GET("http://readcomiconline.to/ComicList/LatestUpdate?page=$page", headers) return GET("https://readcomiconline.to/ComicList/LatestUpdate?page=$page", headers)
} }
override fun popularMangaFromElement(element: Element): SManga { override fun popularMangaFromElement(element: Element): SManga {
@ -145,7 +145,7 @@ class Readcomiconline : 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 http://readcomiconline.to/AdvanceSearch // on https://readcomiconline.to/AdvanceSearch
private fun getGenreList() = listOf( private fun getGenreList() = listOf(
Genre("Action"), Genre("Action"),
Genre("Adventure"), Genre("Adventure"),