Fix wrong chapter url in CosplayTele (#2501)
* fix broken chapter url parsing * Update build.gradle Change version code
This commit is contained in:
parent
e465778aec
commit
c7b5b45670
|
@ -1,7 +1,7 @@
|
||||||
ext {
|
ext {
|
||||||
extName = 'CosplayTele'
|
extName = 'CosplayTele'
|
||||||
extClass = '.CosplayTele'
|
extClass = '.CosplayTele'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -135,7 +135,7 @@ class CosplayTele : ParsedHttpSource() {
|
||||||
|
|
||||||
override fun chapterFromElement(element: Element): SChapter {
|
override fun chapterFromElement(element: Element): SChapter {
|
||||||
val chapter = SChapter.create()
|
val chapter = SChapter.create()
|
||||||
chapter.setUrlWithoutDomain(element.select("link[rel=\"canonical\"]").attr("href"))
|
chapter.setUrlWithoutDomain(element.select("[rel=\"bookmark\"]").attr("href"))
|
||||||
chapter.name = "Gallery"
|
chapter.name = "Gallery"
|
||||||
chapter.date_upload = getDate(element.select("time.updated").attr("datetime"))
|
chapter.date_upload = getDate(element.select("time.updated").attr("datetime"))
|
||||||
return chapter
|
return chapter
|
||||||
|
|
Loading…
Reference in New Issue