dev #1

Merged
nocci merged 51 commits from dev into main 2026-03-06 16:31:29 +01:00
Showing only changes of commit 866f06e505 - Show all commits

View file

@ -20,6 +20,10 @@ const URL_CLAIM = 'https://store.epicgames.com/en-US/free-games';
const COOKIES_PATH = path.resolve(cfg.dir.browser, 'epic-cookies.json'); const COOKIES_PATH = path.resolve(cfg.dir.browser, 'epic-cookies.json');
const BEARER_TOKEN_NAME = 'EPIC_BEARER_TOKEN'; const BEARER_TOKEN_NAME = 'EPIC_BEARER_TOKEN';
// Screenshot Helper Function
const screenshot = (...a) => path.resolve(cfg.dir.screenshots, 'epic-games', ...a);
// Fetch Free Games from API // Fetch Free Games from API
const fetchFreeGamesAPI = async () => { const fetchFreeGamesAPI = async () => {
const resp = await axios.get('https://store-site-backend-static-ipv4.ak.epicgames.com/freeGamesPromotions', { const resp = await axios.get('https://store-site-backend-static-ipv4.ak.epicgames.com/freeGamesPromotions', {