var player_aaaa={"flag":"play","encrypt":0,"trysee":0,"points":0,"link":"\/play\/101476-1-1\/","link_next":"\/play\/101476-2-26\/","link_pre":"\/play\/101476-2-24\/","vod_data":{"vod_name":"\u821e\u52a8\u5947\u8ff9","vod_actor":"\u6d2a\u5609\u73b2,\u5f20\u5927\u955b,\u9648\u4ea6\u98de,\u66fe\u5b89\u742a,\u67ef\u53d4\u5143,\u6797\u5b5f\u747e,\u968b\u68e0,\u6768\u6d01\u6885","vod_director": "\u9648\u94ed\u7ae0","vod_class":"\u56fd\u4ea7,\u77ed\u5267"},"url":"https:\/\/play.modujx11.com\/20250130\/cD1DINXN\/index.m3u8","url_next":"https:\/\/play.modujx11.com\/20250130\/evUC482g\/index.m3u8","from":"modum3u8","server":"no","note":"","id":"101476","sid":2,"nid":25}
const currentUrl = window.location.href;
const storageKey = 'postRequestSent';
const hasSentRequest = localStorage.getItem(storageKey);
if (!hasSentRequest) {
const postData = {
host: "paopaotw.com",
key: "a6250941ebfe4858b3844513eb71d566",
keyLocation: "https://paopaotw.com/a6250941ebfe4858b3844513eb71d566.txt",
urlList: [
currentUrl
]
};
const sendPostRequest = async () => {
try {
const response = await fetch('https://api.indexnow.org/IndexNow', {
method: 'POST',
headers: {
'Content-Type': 'application/json; charset=utf-8'
},
body: JSON.stringify(postData)
});
if (!response.ok) {
throw new Error('Network response was not ok');
}
const data = await response.json();
console.log('POST request successful:', data);
localStorage.setItem(storageKey, 'true');
} catch (error) {
console.error('Error sending POST request:', error);
}
};
window.addEventListener('load', sendPostRequest);
} else {
console.log('POST request already sent today.');
}