stnh70 commited on
Commit
5afe208
·
verified ·
1 Parent(s): 81af6fe

Update deno.ts

Browse files
Files changed (1) hide show
  1. deno.ts +4 -0
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");