Implemented MangaMx Cloudflare fix (#2926)

Manga-mx.com uses Cloudflare.
Using the Cloudflare client makes it usable again.
This commit is contained in:
E3FxGaming 2020-04-29 12:03:39 +02:00 committed by GitHub
parent ec71806db1
commit d4dbf1d63f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,7 @@ ext {
appName = 'Tachiyomi: MangaMx & Doujin-Yang'
pkgNameSuffix = 'es.mangamx'
extClass = '.MangaMx'
extVersionCode = 6
extVersionCode = 7
libVersion = '1.2'
}

View File

@ -31,6 +31,8 @@ open class MangaMx : ParsedHttpSource() {
override val baseUrl = "https://manga-mx.com"
override val lang = "es"
override val supportsLatest = true
override val client = network.cloudflareClient
private var csrfToken = ""
// Popular