diff --git a/Pornhoarder/src/main/kotlin/com/xxx/PornhoarderPlugin.kt b/Pornhoarder/src/main/kotlin/com/xxx/PornhoarderPlugin.kt index 3da5216..4d57d50 100644 --- a/Pornhoarder/src/main/kotlin/com/xxx/PornhoarderPlugin.kt +++ b/Pornhoarder/src/main/kotlin/com/xxx/PornhoarderPlugin.kt @@ -52,14 +52,14 @@ class PornhoarderPlugin : MainAPI() { val body = getRequestBody("",request.data == "Latest",page) val document = app.post(ajaxUrl, requestBody = body).document val responseList = document.select(".video article").mapNotNull { it.toSearchResult() } - return newHomePageResponse(HomePageList(request.name, responseList, isHorizontalImages = true),hasNext = true) + return newHomePageResponse(HomePageList(request.name, responseList, isHorizontalImages = false),hasNext = true) } else { val document = app.get("$mainUrl${request.data}?page=$page").document val responseList = document.select(".video article").mapNotNull { it.toSearchResult() } - return newHomePageResponse(HomePageList(request.name, responseList, isHorizontalImages = true),hasNext = true) + return newHomePageResponse(HomePageList(request.name, responseList, isHorizontalImages = false),hasNext = true) } }