diff --git a/src/en/readcomictv/build.gradle b/src/en/readcomictv/build.gradle deleted file mode 100644 index 007ef8805..000000000 --- a/src/en/readcomictv/build.gradle +++ /dev/null @@ -1,12 +0,0 @@ -apply plugin: 'com.android.application' -apply plugin: 'kotlin-android' - -ext { - appName = 'Tachiyomi: ReadComicWebsite' - pkgNameSuffix = 'en.readcomictv' - extClass = '.Readcomictv' - extVersionCode = 4 - libVersion = '1.0' -} - -apply from: "$rootDir/common.gradle" diff --git a/src/en/readcomictv/res/mipmap-hdpi/ic_launcher.png b/src/en/readcomictv/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index 566b6d849..000000000 Binary files a/src/en/readcomictv/res/mipmap-hdpi/ic_launcher.png and /dev/null differ diff --git a/src/en/readcomictv/res/mipmap-mdpi/ic_launcher.png b/src/en/readcomictv/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index 4e8b93ec3..000000000 Binary files a/src/en/readcomictv/res/mipmap-mdpi/ic_launcher.png and /dev/null differ diff --git a/src/en/readcomictv/res/mipmap-xhdpi/ic_launcher.png b/src/en/readcomictv/res/mipmap-xhdpi/ic_launcher.png deleted file mode 100644 index 2a2afa547..000000000 Binary files a/src/en/readcomictv/res/mipmap-xhdpi/ic_launcher.png and /dev/null differ diff --git a/src/en/readcomictv/res/mipmap-xxhdpi/ic_launcher.png b/src/en/readcomictv/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index 71daec8cf..000000000 Binary files a/src/en/readcomictv/res/mipmap-xxhdpi/ic_launcher.png and /dev/null differ diff --git a/src/en/readcomictv/res/mipmap-xxxhdpi/ic_launcher.png b/src/en/readcomictv/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 99f899d26..000000000 Binary files a/src/en/readcomictv/res/mipmap-xxxhdpi/ic_launcher.png and /dev/null differ diff --git a/src/en/readcomictv/res/web_hi_res_512.png b/src/en/readcomictv/res/web_hi_res_512.png deleted file mode 100644 index 315b97f26..000000000 Binary files a/src/en/readcomictv/res/web_hi_res_512.png and /dev/null differ diff --git a/src/en/readcomictv/src/eu/kanade/tachiyomi/extension/en/readcomictv/Readcomictv.kt b/src/en/readcomictv/src/eu/kanade/tachiyomi/extension/en/readcomictv/Readcomictv.kt deleted file mode 100644 index 637eed0ac..000000000 --- a/src/en/readcomictv/src/eu/kanade/tachiyomi/extension/en/readcomictv/Readcomictv.kt +++ /dev/null @@ -1,116 +0,0 @@ -package eu.kanade.tachiyomi.extension.en.readcomictv - -import eu.kanade.tachiyomi.network.GET -import eu.kanade.tachiyomi.source.model.FilterList -import eu.kanade.tachiyomi.source.model.Page -import eu.kanade.tachiyomi.source.model.SChapter -import eu.kanade.tachiyomi.source.model.SManga -import eu.kanade.tachiyomi.source.online.ParsedHttpSource -import okhttp3.Request -import okhttp3.Response -import org.jsoup.nodes.Document -import org.jsoup.nodes.Element -import java.text.SimpleDateFormat - -class Readcomictv : ParsedHttpSource() { - - override val lang = "en" - override val name = "ReadComicsWebsite" - override val supportsLatest = true - override val baseUrl = "https://readcomicsonline.ru/" - - override fun chapterFromElement(element: Element): SChapter { - val chapter = SChapter.create() - val info = element.select("a") - chapter.name=info.text() - chapter.setUrlWithoutDomain(info.attr("href") + "/full") - chapter.date_upload = SimpleDateFormat("M/d/y").parse(element.select("span").text()).time - return chapter - } - - override fun chapterListParse(response: Response): List { - return super.chapterListParse(response).asReversed() - } - - override fun chapterListSelector(): String { - return "ul.basic-list li" - } - - override fun imageUrlParse(document: Document): String { - throw UnsupportedOperationException("imageUrlParse not implemented") - } - - override fun latestUpdatesFromElement(element: Element): SManga { - val manga = SManga.create() - manga.setUrlWithoutDomain(element.attr("href")) - manga.title = element.text() - return manga - } - - override fun latestUpdatesNextPageSelector(): String? { - return null - } - - override fun latestUpdatesRequest(page: Int): Request { - return GET(baseUrl + "/comic-updates/$page",headers) - } - - override fun latestUpdatesSelector(): String { - return ".hlb-name" - } - - override fun mangaDetailsParse(document: Document): SManga { - val manga = SManga.create() - val info = document.select(".manga-details table") - manga.author = info.select("tr:nth-child(5) > td:nth-child(2)").text() - manga.artist = info.select("tr:nth-child(5) > td:nth-child(2)").text() - manga.description = document.select(".detail-desc-content p").text() - manga.thumbnail_url = document.select(".anime-image img").attr("src") - manga.genre = info.select("tr:nth-child(6) > td:nth-child(2)").text() - val status = info.select("tr:nth-child(4) > td:nth-child(2)").text() - manga.status = if (status == "Completed") SManga.COMPLETED else if (status == "Ongoing") SManga.ONGOING else SManga.UNKNOWN - return manga - } - - override fun pageListParse(document: Document): List { - var i = 0 - return document.select(".chapter_img").map { - Page(i++,"",it.attr("src")) - } - } - - override fun popularMangaFromElement(element: Element): SManga { - return SManga.create().apply { - title = element.text() - setUrlWithoutDomain(element.attr("href")) - } - } - - override fun popularMangaNextPageSelector(): String? = ".general-nav :last-child" - - override fun popularMangaRequest(page: Int): Request { - return GET(baseUrl + "/popular-comics/$page",headers) - } - - override fun popularMangaSelector(): String = ".manga-box h3 a" - - override fun searchMangaFromElement(element: Element): SManga { - return SManga.create().apply { - title = element.text() - setUrlWithoutDomain(element.attr("href")) - } - } - - override fun searchMangaNextPageSelector(): String? { - return ".general-nav :last-child[href]" - } - - override fun searchMangaRequest(page: Int, query: String, filters: FilterList): Request { - return GET(baseUrl + "/advanced-search?key=$query&page=$page",headers) - } - - override fun searchMangaSelector(): String { - return ".dlb-title" - } - -}