Exclude premium items from search results (#5538)
This commit is contained in:
parent
221cda7694
commit
c803443809
@ -5,7 +5,7 @@ ext {
|
|||||||
extName = 'Doujins'
|
extName = 'Doujins'
|
||||||
pkgNameSuffix = 'en.doujins'
|
pkgNameSuffix = 'en.doujins'
|
||||||
extClass = '.Doujins'
|
extClass = '.Doujins'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
libVersion = '1.2'
|
libVersion = '1.2'
|
||||||
containsNsfw = true
|
containsNsfw = true
|
||||||
}
|
}
|
||||||
|
@ -149,7 +149,7 @@ class Doujins : HttpSource() {
|
|||||||
|
|
||||||
val pagination = document.select(".pagination").first()
|
val pagination = document.select(".pagination").first()
|
||||||
return MangasPage(
|
return MangasPage(
|
||||||
document.select("a.gallery-visited-from-favorites").map {
|
document.select("div:not(.premium-folder) > .thumbnail-doujin a.gallery-visited-from-favorites").map {
|
||||||
SManga.create().apply {
|
SManga.create().apply {
|
||||||
setUrlWithoutDomain(it.attr("href"))
|
setUrlWithoutDomain(it.attr("href"))
|
||||||
title = it.select("div.title .text").text()
|
title = it.select("div.title .text").text()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user