-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Prerequisites
- I have checked the existing issues and this is not a duplicate
- I have read the README.md and ensured that this provider is not already supported
- I have included all relevant details in this request
- I did not answer truthfully to ALL the above checkboxes
Provider Name
moviesapi.club
Provider URL
Provider Description
https://moviesapi.club/movie/$id --> https://w1.moviesapi.to/movie/$id
https://moviesapi.club/tv/$id-$season-$episode
Implementation Details
POST: https://w1.moviesapi.to/api/scrapify/v1/fetch
with payload:
{
"source": "sflix2", //source
"type": "movie",
"id": "",
"srv": "0"
}
encrypt AES with ENCRYPTION KEY ==> gives payload as string
returns (example. and also we have to check which sources and which srv exist)
{
"source": "insertunit",
"url": "https://cdnr.xh8007l.ws/10_25/09/17/ULU5UQMF/1205475.mpd?ha=797102a879f42c5&hc=5950b6c9af1b9b5&hi=69120f778d0c89a&ht=d3c49fde74749b9&hu=ad7c3471ad51850&hui=6ad92235cb96480&t=1765969912",
"englishTrackIndex": 7,
"origin": "https://api.insertunit.ws",
"referer": "https://api.insertunit.ws/",
"hasCorsRestrictions": true,
"tracks": [],
"puppeteer": false,
"srv": 0,
"dub": null,
"type": "movie",
"imdbId": "tt0468569",
"tmdbId": 155,
"title": "The Dark Knight",
"originalTitle": "The Dark Knight",
"year": 2008,
"poster": "/qJ2tW6WMUDux911r6m7haRef0WH.jpg",
"backdrop": "/dqK9Hag1054tghRQSqLSfrkvQnA.jpg",
"animation": false,
"anime": false
}
Additional Context
const H8 = Fm(G8)
, Pm = "e716f19ab4d25edc5247239a8f3494f8"
, fc = {
SCRAPIFY_URL: "/api/scrapify",
ENCRYPTION_KEY: "moviesapi-secure-encryption-key-2024-v1",
PLAYER_API_KEY: "moviesapi-player-auth-key-2024-secure"
}
, D = H8.AES.encrypt(JSON.stringify(I), fc.ENCRYPTION_KEY).toString()
, L = new AbortController
, _ = setTimeout( () => L.abort(), 1e4)
, F = await fetch(`${fc.SCRAPIFY_URL}/v1/fetch`, {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-player-key": fc.PLAYER_API_KEY
},
body: JSON.stringify({
payload: D
}),
x.create({
key: [
1237708578,
-974987189,
-1049502266,
627404410,
-1349558622,
-1750665993,
1777306117,
-1981052759,
-594204203,
15674627,
1569472052,
-880821857
],
iv: [
-594204203,
15674627,
1569472052,
-880821857
],
salt: [
3298769901,
1998246710
]
})