Skip to content

Commit

Permalink
test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
owencz1998 authored Dec 7, 2024
1 parent a055400 commit 17655c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Pornhoarder/src/main/kotlin/com/xxx/PornhoarderPlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class PornhoarderPlugin : MainAPI() {
override suspend fun getMainPage(page: Int, request: MainPageRequest): HomePageResponse {
if(request.data == "Latest" || request.data == "Popular")
{
val body = getRequestBody("",request.data == "Latest","Trending","Random",page)
val body = getRequestBody("",request.data == "Latest", "Trending", "Random",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)
Expand Down

0 comments on commit 17655c9

Please sign in to comment.