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 {
|
||||
extName = 'CosplayTele'
|
||||
extClass = '.CosplayTele'
|
||||
extVersionCode = 1
|
||||
extVersionCode = 2
|
||||
isNsfw = true
|
||||
}
|
||||
|
||||
|
|
|
@ -135,7 +135,7 @@ class CosplayTele : ParsedHttpSource() {
|
|||
|
||||
override fun chapterFromElement(element: Element): SChapter {
|
||||
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.date_upload = getDate(element.select("time.updated").attr("datetime"))
|
||||
return chapter
|
||||
|
|
Loading…
Reference in New Issue