Update deno.ts
Browse files
deno.ts
CHANGED
|
@@ -214,6 +214,10 @@ async function handle(request, connInfo) {
|
|
| 214 |
request.headers.set("Origin", "https://videocdn.tv");
|
| 215 |
request.headers.set("Referer", "https://videocdn.tv/");
|
| 216 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
| 217 |
if (apiUrl.hostname === "api.lumex.pw") {
|
| 218 |
request.headers.set("User-Agent", user_agent);
|
| 219 |
request.headers.set("Origin", "https://p.lumex.pw");
|
|
|
|
| 214 |
request.headers.set("Origin", "https://videocdn.tv");
|
| 215 |
request.headers.set("Referer", "https://videocdn.tv/");
|
| 216 |
}
|
| 217 |
+
if (apiUrl.hostname === ("huaren.live")) {
|
| 218 |
+
console.log('huaren')
|
| 219 |
+
request.headers.set("Cookie", "9p7YlmEZ6ymIP0sJQ5MsFapWKJLKT9Q5Dz6frtplEmWxCFujxZsEtzz52ed4VV2ekf3aOcQOGnOEGY_jCCNboSyaEg3ntNJLGqgRkdrfzCSOBI_0qmZS6y_1adbNlhKzezqa7hMiCR286X0IgGlShIUONbSlXOuy2GoWh56uurfHlcRY16");
|
| 220 |
+
}
|
| 221 |
if (apiUrl.hostname === "api.lumex.pw") {
|
| 222 |
request.headers.set("User-Agent", user_agent);
|
| 223 |
request.headers.set("Origin", "https://p.lumex.pw");
|