I Roved Out: Fix loading last page (#11790)
* Simplify page selector * Bump irovedout version Co-authored-by: GoldenRover <>
This commit is contained in:
parent
da48fe4ae5
commit
6bd22b20b0
@ -5,7 +5,7 @@ ext {
|
|||||||
extName = 'I Roved Out'
|
extName = 'I Roved Out'
|
||||||
pkgNameSuffix = 'en.irovedout'
|
pkgNameSuffix = 'en.irovedout'
|
||||||
extClass = '.IRovedOut'
|
extClass = '.IRovedOut'
|
||||||
extVersionCode = 1
|
extVersionCode = 2
|
||||||
isNsfw = true
|
isNsfw = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -62,7 +62,7 @@ class IRovedOut : HttpSource() {
|
|||||||
|
|
||||||
override fun fetchImageUrl(page: Page): Observable<String> {
|
override fun fetchImageUrl(page: Page): Observable<String> {
|
||||||
val comicPage = client.newCall(GET(page.url, headers)).execute().asJsoup()
|
val comicPage = client.newCall(GET(page.url, headers)).execute().asJsoup()
|
||||||
val imageUrl = comicPage.selectFirst("#comic > a > img").attr("src")
|
val imageUrl = comicPage.selectFirst("#comic img").attr("src")
|
||||||
return Observable.just(imageUrl)
|
return Observable.just(imageUrl)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user