From 3ee57748700b827879ae41482be274dd99281144 Mon Sep 17 00:00:00 2001 From: Lennart Weller Date: Thu, 23 Jun 2016 14:05:20 +0200 Subject: [PATCH] Use Cloudflare client for ReadManga.Today (#363) --- .../tachiyomi/data/source/online/english/Readmangatoday.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Readmangatoday.kt b/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Readmangatoday.kt index be6d759371..7c89ada964 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Readmangatoday.kt +++ b/app/src/main/java/eu/kanade/tachiyomi/data/source/online/english/Readmangatoday.kt @@ -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"