diff --git a/NoodleMagazineProvider/src/main/AndroidManifest.xml b/NoodleMagazineProvider/src/main/AndroidManifest.xml
index d2a6ed7..7b2bd9d 100644
--- a/NoodleMagazineProvider/src/main/AndroidManifest.xml
+++ b/NoodleMagazineProvider/src/main/AndroidManifest.xml
@@ -1,2 +1,2 @@
-
+
diff --git a/NoodleMagazineProvider/src/main/kotlin/com/KillerDogeEmpire/NoodleMagazineProvider.kt b/NoodleMagazineProvider/src/main/kotlin/com/KillerDogeEmpire/NoodleMagazineProvider.kt
index d70231d..c5cd297 100644
--- a/NoodleMagazineProvider/src/main/kotlin/com/KillerDogeEmpire/NoodleMagazineProvider.kt
+++ b/NoodleMagazineProvider/src/main/kotlin/com/KillerDogeEmpire/NoodleMagazineProvider.kt
@@ -38,18 +38,18 @@ class NoodleMagazineProvider : MainAPI() { // all providers must be an instance
return newHomePageResponse(request.name, home)
}
- private fun Element.toSearchResult(): AnimeSearchResponse? {
+ private fun Element.toSearchResult(): MovieSearchResponse? {
val href = fixUrl(this.selectFirst("a")?.attr("href") ?: return null)
val title = this.selectFirst("a div.i_info div.title")?.text() ?: return null
val posterUrl = fixUrlNull(this.selectFirst("a div.i_img img")?.attr("data-src"))
- return newAnimeSearchResponse(title, href, TvType.Anime) {
+ return newMovieSearchResponse(title, href, TvType.Movie) {
this.posterUrl = posterUrl
}
}
- override suspend fun search(query: String): List {
- val searchresult = mutableListOf()
+ override suspend fun search(query: String): List {
+ val searchresult = mutableListOf()
(0..10).toList().apmap { page ->
val doc = app.get("$mainUrl/video/$query?p=$page").document
//return document.select("div.post-filter-image").mapNotNull {