I'm trying to get direct mp4 video link from cda.pl on my php website.
I already tried 2 things:
1. Scrapping - didn't work cause when rebuilding page doesnt have player to scrap url from.
2.They use jsonrpc queries to get that direct link so i tracked how it is and when using POST you can get it:
body: JSON.stringify({
jsonrpc: "2.0",
method: "videoGetLink",
params: ["8924451a8", "hd", 1684066504, "a5e88b9c11b8cdc3d787d9935815f42c7d1ba3f0", {}],
id: 2
})
but in order to build that you need to provide following params: vid url, quality, timestamp, hash which is like some secret key idk how to obtain it.
Any ideas how to get that link? There are websites like:
which easly do it but i cant manage how.
I already tried 2 things:
1. Scrapping - didn't work cause when rebuilding page doesnt have player to scrap url from.
2.They use jsonrpc queries to get that direct link so i tracked how it is and when using POST you can get it:
body: JSON.stringify({
jsonrpc: "2.0",
method: "videoGetLink",
params: ["8924451a8", "hd", 1684066504, "a5e88b9c11b8cdc3d787d9935815f42c7d1ba3f0", {}],
id: 2
})
but in order to build that you need to provide following params: vid url, quality, timestamp, hash which is like some secret key idk how to obtain it.
Any ideas how to get that link? There are websites like:
which easly do it but i cant manage how.