NudeMoon: fix strange rare problem with setUrlWithoutDomain (#16083)
fix strange rare problem with setUrlWithoutDomain
This commit is contained in:
parent
e3d27184ae
commit
e253ad37c1
|
@ -5,7 +5,7 @@ ext {
|
|||
extName = 'Nude-Moon'
|
||||
pkgNameSuffix = 'ru.nudemoon'
|
||||
extClass = '.Nudemoon'
|
||||
extVersionCode = 14
|
||||
extVersionCode = 15
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -202,6 +202,9 @@ class Nudemoon : ParsedHttpSource() {
|
|||
val nameAndUrl = element.select("tr[valign=top] a:has(h2)")
|
||||
name = nameAndUrl.select("h2").text()
|
||||
setUrlWithoutDomain(nameAndUrl.attr("abs:href"))
|
||||
if (url.contains(baseUrl)) {
|
||||
url = url.replace(baseUrl, "")
|
||||
}
|
||||
val informBlock = element.select("tr[valign=top] td[align=left]")
|
||||
scanlator = informBlock.select("a[href*=perevod]").text()
|
||||
date_upload = informBlock.select("span.small2")
|
||||
|
|
Loading…
Reference in New Issue