mirror of
https://github.com/recloudstream/cloudstream-extensions-multilingual.git
synced 2024-08-15 03:15:14 +00:00
Improve research for wiflix
This commit is contained in:
parent
6cbc1b395a
commit
5d7587a805
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ class WiflixProvider : MainAPI() {
|
||||||
**/
|
**/
|
||||||
override suspend fun search(query: String): List<SearchResponse> {
|
override suspend fun search(query: String): List<SearchResponse> {
|
||||||
val link =
|
val link =
|
||||||
"$mainUrl/index.php?do=search&subaction=search&story=$query&submit=Submit+Query" // search'
|
"$mainUrl/index.php?do=search&subaction=search&search_start=0&full_search=1&result_from=1&story=$query&titleonly=3&searchuser=&replyless=0&replylimit=0&searchdate=0&beforeafter=after&sortby=date&resorder=desc&showposts=0&catlist%5B%5D=0" // search'
|
||||||
val document =
|
val document =
|
||||||
app.post(link).document // app.get() permet de télécharger la page html avec une requete HTTP (get)
|
app.post(link).document // app.get() permet de télécharger la page html avec une requete HTTP (get)
|
||||||
val results = document.select("div#dle-content > div.clearfix")
|
val results = document.select("div#dle-content > div.clearfix")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue