mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-08 06:03:04 -04:00
add omnisearch for movies&tv
This commit is contained in:
parent
d6b3239e4c
commit
6ddf9829ab
5 changed files with 98 additions and 4 deletions
|
@ -409,4 +409,11 @@ module.exports.animeSupplemental = async function(context, supplementalKey){
|
|||
return await request(Api.OMNI_ANIME_SUPPLEMENTAL, "GET", {}, {
|
||||
supplemental_key: supplementalKey
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
module.exports.movie = async function(context, query, includeAdultContent){
|
||||
return await request(Api.OMNI_MOVIE, "GET", {}, {
|
||||
q: query,
|
||||
include_adult: includeAdultContent
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue