diff --git a/client.js b/client.js index 04891cb..37ab8c2 100644 --- a/client.js +++ b/client.js @@ -16,7 +16,7 @@ const mineflayer = require("mineflayer"); const mc_bridge_enabled = false; const irc_bridge_enabled = true; const instance = "https://4get.lumaeris.com"; -var scraper = "ddg"; +var scraper = "google_cse"; const mc_options = { "host": "deek.chat", @@ -647,6 +647,7 @@ init_irc(); async function fetch_xeno(recording, index, msg){ index--; + console.log(recording[index]); var filereq = await fetch( recording[index].file, @@ -1448,9 +1449,31 @@ deek.on("message", async function(msg, user){ global_page = 1; is_pp_xeno = true; - results_cache = res_get.recordings; - await fetch_xeno(res_get.recordings, 1, msg); + // filter out restricted results + results_cache = []; + + for(var k=0; k