Update rarbg.js
Browse files3 unmodified lines456789103 unmodified lines// Function to fetch RSS feeds and search torrents on RARBGasync function fetchRSSFeeds(searchQuery) {const searchUrl = `https://en.rarbg.gg/search/?search=${encodeURIComponent(searchQuery)}&category[]=movies&category[]=tv`;console.log('\n🔄 Fetching RARBG search results for:', searchQuery);3 unmodified lines456789101112133 unmodified lines// Function to fetch RSS feeds and search torrents on RARBGasync function fetchRSSFeeds(searchQuery) {// Format the search query for series (e.g., yellowjackets-s03e01)const formattedQuery = searchQuery.replace(/-s(\d{2})e(\d{2})/i, '-s$1e$2-'); // Ensuring correct format for seriesconst searchUrl = `https://en.rarbg.gg/search/?search=${encodeURIComponent(formattedQuery)}&category[]=movies&category[]=tv`;console.log('\n🔄 Fetching RARBG search results for:', searchQuery);
rarbg.js+4-1