Happymh: Fix page list (#6284)
This commit is contained in:
parent
83bdb4d9b4
commit
c8e113a524
|
@ -1,7 +1,7 @@
|
|||
ext {
|
||||
extName = 'Happymh'
|
||||
extClass = '.Happymh'
|
||||
extVersionCode = 13
|
||||
extVersionCode = 14
|
||||
}
|
||||
|
||||
apply from: "$rootDir/common.gradle"
|
||||
|
|
|
@ -170,7 +170,7 @@ class Happymh : HttpSource(), ConfigurableSource {
|
|||
}
|
||||
val comicId = chapter.url.substringAfter("/reads/").substringBefore("/")
|
||||
val chapterId = chapter.url.substringAfterLast("/")
|
||||
val url = "$baseUrl/v2.0/apis/manga/read?code=$comicId&cid=$chapterId&v=v3.1302723"
|
||||
val url = "$baseUrl/v2.0/apis/manga/reading?code=$comicId&cid=$chapterId&v=v3.1613134"
|
||||
// Some chapters return 403 without this header
|
||||
val header = headersBuilder()
|
||||
.add("X-Requested-With", "XMLHttpRequest")
|
||||
|
|
Loading…
Reference in New Issue