Remove ReadGojo (#4122)
This commit is contained in:
parent
a5ff37e47a
commit
c23c65c165
|
@ -1,9 +0,0 @@
|
||||||
ext {
|
|
||||||
extName = 'ReadGojo'
|
|
||||||
extClass = '.ReadGojo'
|
|
||||||
themePkg = 'mangathemesia'
|
|
||||||
baseUrl = 'https://readgojo.com'
|
|
||||||
overrideVersionCode = 0
|
|
||||||
}
|
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
|
Binary file not shown.
Before Width: | Height: | Size: 7.2 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 11 KiB |
Binary file not shown.
Before Width: | Height: | Size: 21 KiB |
Binary file not shown.
Before Width: | Height: | Size: 32 KiB |
|
@ -1,26 +0,0 @@
|
||||||
package eu.kanade.tachiyomi.extension.en.readgojo
|
|
||||||
|
|
||||||
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
|
||||||
import eu.kanade.tachiyomi.source.model.SChapter
|
|
||||||
import org.jsoup.nodes.Element
|
|
||||||
|
|
||||||
class ReadGojo : MangaThemesia("ReadGojo", "https://readgojo.com", "en") {
|
|
||||||
|
|
||||||
override fun chapterFromElement(element: Element) = SChapter.create().apply {
|
|
||||||
setUrlWithoutDomain(element.attr("href"))
|
|
||||||
|
|
||||||
name = element.selectFirst(".truncate p")?.text()!!.ifBlank { element.text() }
|
|
||||||
date_upload = element.select("p").last()?.text()!!.split("Released ").last().parseChapterDate()
|
|
||||||
}
|
|
||||||
|
|
||||||
override fun chapterListSelector() = "#chapterlist > a"
|
|
||||||
|
|
||||||
protected override fun String?.parseChapterDate(): Long {
|
|
||||||
if (this == null) return 0
|
|
||||||
return try {
|
|
||||||
dateFormat.parse(this)?.time ?: 0
|
|
||||||
} catch (_: Exception) {
|
|
||||||
0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue