parent
2f02d090b8
commit
ec2dcf0e7b
|
@ -3,7 +3,7 @@ ext {
|
||||||
extClass = '.Hentairead'
|
extClass = '.Hentairead'
|
||||||
themePkg = 'madara'
|
themePkg = 'madara'
|
||||||
baseUrl = 'https://hentairead.com'
|
baseUrl = 'https://hentairead.com'
|
||||||
overrideVersionCode = 7
|
overrideVersionCode = 8
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -94,7 +94,7 @@ class Hentairead : Madara("HentaiRead", "https://hentairead.com", "en", dateForm
|
||||||
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/$mangaSubString/${searchPage(page)}?sortby=views", headers)
|
override fun popularMangaRequest(page: Int): Request = GET("$baseUrl/$mangaSubString/${searchPage(page)}?sortby=views", headers)
|
||||||
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/$mangaSubString/${searchPage(page)}?sortby=new", headers)
|
override fun latestUpdatesRequest(page: Int): Request = GET("$baseUrl/$mangaSubString/${searchPage(page)}?sortby=new", headers)
|
||||||
override fun popularMangaSelector() = ".manga-item"
|
override fun popularMangaSelector() = ".manga-item"
|
||||||
override val popularMangaUrlSelector = ".manga-item__bottom a"
|
override val popularMangaUrlSelector = "a.manga-item__link"
|
||||||
|
|
||||||
private fun getTagId(tag: String, type: String): Int? {
|
private fun getTagId(tag: String, type: String): Int? {
|
||||||
val ajax = "$baseUrl/wp-admin/admin-ajax.php?action=search_manga_terms&search=$tag&taxonomy=$type".replace("artist", "manga_artist")
|
val ajax = "$baseUrl/wp-admin/admin-ajax.php?action=search_manga_terms&search=$tag&taxonomy=$type".replace("artist", "manga_artist")
|
||||||
|
|
Loading…
Reference in New Issue