From a6a6be6844ef31fc766ac5ca988ee1921844ee45 Mon Sep 17 00:00:00 2001 From: happywillow0 <45346080+happywillow0@users.noreply.github.com> Date: Tue, 30 Aug 2022 22:36:40 -0400 Subject: [PATCH] Fix (#13276) Fixes #13275 Updates element selector for pageListParse Updates baseUrl --- src/en/mangafreak/build.gradle | 2 +- .../eu/kanade/tachiyomi/extension/en/mangafreak/Mangafreak.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/en/mangafreak/build.gradle b/src/en/mangafreak/build.gradle index ab04be76f..0b33501c3 100644 --- a/src/en/mangafreak/build.gradle +++ b/src/en/mangafreak/build.gradle @@ -5,7 +5,7 @@ ext { extName = 'Mangafreak' pkgNameSuffix = 'en.mangafreak' extClass = '.Mangafreak' - extVersionCode = 6 + extVersionCode = 7 } diff --git a/src/en/mangafreak/src/eu/kanade/tachiyomi/extension/en/mangafreak/Mangafreak.kt b/src/en/mangafreak/src/eu/kanade/tachiyomi/extension/en/mangafreak/Mangafreak.kt index d68dc1d93..b218f1591 100644 --- a/src/en/mangafreak/src/eu/kanade/tachiyomi/extension/en/mangafreak/Mangafreak.kt +++ b/src/en/mangafreak/src/eu/kanade/tachiyomi/extension/en/mangafreak/Mangafreak.kt @@ -22,7 +22,7 @@ class Mangafreak : ParsedHttpSource() { override val lang: String = "en" - override val baseUrl: String = "https://w12.mangafreak.net" + override val baseUrl: String = "https://w13.mangafreak.net" override val supportsLatest: Boolean = true @@ -162,7 +162,7 @@ class Mangafreak : ParsedHttpSource() { // Pages override fun pageListParse(document: Document): List = mutableListOf().apply { - document.select("img#gohere").forEachIndexed { index, element -> + document.select("img#gohere[src]").forEachIndexed { index, element -> add(Page(index, "", element.attr("abs:src"))) } }