Due to debugger unable to find the sourceURL & decrypt
Possible Solution EXAMPLE:
const fetchVideo = async () => {
const { data } = await axios.get(
"https://megacloud.tv/embed-1/ajax/e-1/getSources?id=9JXCOiGwpL8b", // The link may be invalid.
{
headers: {
"x-requested-with": "XMLHttpRequest",
Referer: "https://megacloud.tv/embed-1/e-1/9JXCOiGwpL8b?z=", // The link may be invalid.
},
}
);
return data;
};
After this, you will receive an encrypted source string, and you will need to decrypt it.
Problem
Due to debugger unable to find the sourceURL & decrypt
Possible Solution EXAMPLE:
After this, you will receive an encrypted source string, and you will need to decrypt it.