Use Cloudflare client for ReadManga.Today (#363)

This commit is contained in:
Lennart Weller 2016-06-23 14:05:20 +02:00 committed by inorichi
parent c8fbb96f49
commit 3ee5774870

View File

@ -9,6 +9,7 @@ import eu.kanade.tachiyomi.data.source.Language
import eu.kanade.tachiyomi.data.source.model.MangasPage
import eu.kanade.tachiyomi.data.source.model.Page
import eu.kanade.tachiyomi.data.source.online.ParsedOnlineSource
import okhttp3.OkHttpClient
import okhttp3.Request
import org.jsoup.nodes.Document
import org.jsoup.nodes.Element
@ -22,6 +23,8 @@ class Readmangatoday(context: Context, override val id: Int) : ParsedOnlineSourc
override val lang: Language get() = EN
override val client: OkHttpClient get() = network.cloudflareClient
override fun popularMangaInitialUrl() = "$baseUrl/hot-manga/"
override fun popularMangaSelector() = "div.hot-manga > div.style-list > div.box"