Fix arena scans duplicate pages (#16223)
* Create ArenaScans.kt Added 'Arena Scans' src override for img selector to mitigate duplicate pages Image selector was returning 2 images for each image (img tag and the noscript img tag). So, added attribute [data-src] which is only available on img under 'readerarea' and not for noscript img. This results in returning one image per img tag. * Update MangaThemesiaGenerator.kt
This commit is contained in:
parent
8062d2fac5
commit
406e2ddfb5
|
@ -0,0 +1,7 @@
|
||||||
|
package eu.kanade.tachiyomi.extension.en.arenascans
|
||||||
|
|
||||||
|
import eu.kanade.tachiyomi.multisrc.mangathemesia.MangaThemesia
|
||||||
|
|
||||||
|
class ArenaScans : MangaThemesia("Arena Scans", "https://arenascans.net", "en") {
|
||||||
|
override val pageSelector = "div#readerarea img[data-src]"
|
||||||
|
}
|
|
@ -20,7 +20,7 @@ class MangaThemesiaGenerator : ThemeSourceGenerator {
|
||||||
MultiLang("Miau Scan", "https://miauscan.com", listOf("es", "pt-BR")),
|
MultiLang("Miau Scan", "https://miauscan.com", listOf("es", "pt-BR")),
|
||||||
SingleLang("Animated Glitched Scans", "https://anigliscans.com", "en"),
|
SingleLang("Animated Glitched Scans", "https://anigliscans.com", "en"),
|
||||||
SingleLang("Arcane scan", "https://arcanescan.fr", "fr"),
|
SingleLang("Arcane scan", "https://arcanescan.fr", "fr"),
|
||||||
SingleLang("Arena Scans", "https://arenascans.net", "en"),
|
SingleLang("Arena Scans", "https://arenascans.net", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Azure Scans", "https://azuremanga.com", "en", overrideVersionCode = 1),
|
SingleLang("Azure Scans", "https://azuremanga.com", "en", overrideVersionCode = 1),
|
||||||
SingleLang("Boosei", "https://boosei.net", "id", overrideVersionCode = 2),
|
SingleLang("Boosei", "https://boosei.net", "id", overrideVersionCode = 2),
|
||||||
SingleLang("Babel Wuxia", "https://babelwuxia.com", "en", overrideVersionCode = 1),
|
SingleLang("Babel Wuxia", "https://babelwuxia.com", "en", overrideVersionCode = 1),
|
||||||
|
|
Loading…
Reference in New Issue