MangaRock.es: Fixed description parsing (#10305)
This commit is contained in:
parent
7228479af0
commit
0e05f3fad6
|
@ -6,7 +6,7 @@ ext {
|
||||||
extName = 'MangaRock.es'
|
extName = 'MangaRock.es'
|
||||||
pkgNameSuffix = 'en.mangarockes'
|
pkgNameSuffix = 'en.mangarockes'
|
||||||
extClass = '.MangaRockEs'
|
extClass = '.MangaRockEs'
|
||||||
extVersionCode = 2
|
extVersionCode = 3
|
||||||
}
|
}
|
||||||
|
|
||||||
apply from: "$rootDir/common.gradle"
|
apply from: "$rootDir/common.gradle"
|
||||||
|
|
|
@ -127,7 +127,7 @@ class MangaRockEs : ParsedHttpSource() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
genre = document.select("div.tags a").joinToString { it.text() }
|
genre = document.select("div.tags a").joinToString { it.text() }
|
||||||
description = document.select("div.full.summary p").filterNot { it.text().isNullOrEmpty() }.joinToString("\n")
|
description = document.select("div.full.summary p").joinToString("\n") { it.text() }.trim()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue