Update kick.js
Browse files29 unmodified lines303132333435363 unmodified lines4041424344454629 unmodified lines// ✅ Caches results to prevent duplicate requestsconst cache = new Map();// ✅ Fetch data from Jackett API (KickassTorrents)async function fetchRSSFeeds(searchQuery, type = 'movie') {const cleanedQuery = cleanQuery(searchQuery);console.log(`🔄 Fetching RSS feed for: "${cleanedQuery}"`);3 unmodified linesreturn cache.get(cleanedQuery);}const API_URL = `http://108.235.59.57:9117/api/v2.0/indexers/all/results?apikey=fpd190akyklnljgxah7xlagid9s62moe&Query=${encodeURIComponent(cleanedQuery)}&Category%5B%5D=2000&Category%5B%5D=5000&Category%5B%5D=8000&Category%5B%5D=103583&Category%5B%5D=112696&Category%5B%5D=138096&Tracker%5B%5D=kickasstorrents-ws&_=1741811334192`;try {await new Promise(resolve => setTimeout(resolve, 2000)); // Prevents bot detection29 unmodified lines303132333435363 unmodified lines4041424344454629 unmodified lines// ✅ Caches results to prevent duplicate requestsconst cache = new Map();// ✅ Fetch data from Jackett API (The Pirate Bay)async function fetchRSSFeeds(searchQuery, type = 'movie') {const cleanedQuery = cleanQuery(searchQuery);console.log(`🔄 Fetching RSS feed for: "${cleanedQuery}"`);3 unmodified linesreturn cache.get(cleanedQuery);}const API_URL = `http://81.150.31.153:9117/api/v2.0/indexers/all/results?apikey=1c99yaajym29qbrb715q3me1qwj2d42g&Query=${encodeURIComponent(cleanedQuery)}&Category%5B%5D=2000&Category%5B%5D=2030&Category%5B%5D=2040&Category%5B%5D=2045&Category%5B%5D=5000&Category%5B%5D=5040&Category%5B%5D=5045&Category%5B%5D=5050&Category%5B%5D=8000&Category%5B%5D=100201&Category%5B%5D=100202&Category%5B%5D=100205&Category%5B%5D=100207&Category%5B%5D=100208&Category%5B%5D=100211&Category%5B%5D=100212&Category%5B%5D=100501&Category%5B%5D=100502&Category%5B%5D=100505&Category%5B%5D=100507&Tracker%5B%5D=thepiratebay&_=1741639126439`;try {await new Promise(resolve => setTimeout(resolve, 2000)); // Prevents bot detection
kick.js+2-2