Skip to content

Commit

Permalink
dunno
Browse files Browse the repository at this point in the history
  • Loading branch information
owencz1998 authored Dec 6, 2024
1 parent 530fb83 commit 899a5d2
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 @@ -19,7 +19,6 @@ class PornhoarderPlugin : MainAPI() {

override val mainPage = mainPageOf(
"/pornstars/" to "Pornstars",
"/categories/anal/" to "anal",
"Latest" to "Latest Videos",
"/trending-videos/" to "Trending Videos",
"/random-videos/" to "Random Videos",
Expand Down Expand Up @@ -52,6 +51,7 @@ class PornhoarderPlugin : MainAPI() {
if(request.data == "Latest" || request.data == "Popular")
{
val body = getRequestBody("",request.data == "Latest",page)
val body = getRequestBody("",request.data == "Pornstars",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 = false),hasNext = true)
Expand Down

0 comments on commit 899a5d2

Please sign in to comment.