claabs / epicgames-freegames-node

Automatically login and find available free games the Epic Games Store. Sends you a prepopulated checkout link so you can complete the checkout after logging in. Supports multiple accounts, login sessions, and scheduled runs.
https://hub.docker.com/r/charlocharlie/epicgames-freegames
MIT License
1.39k stars 93 forks source link

Updated TypeScript code to handle blacklisted games based on configuration #366

Closed Smallinger closed 11 months ago

Smallinger commented 11 months ago

Added blacklistedGames property to the config file. Added comments for clarity and better code understanding.

Update your configuration file to include a blacklistedGames array. Add the titles of games you want to exclude from processing.

"blacklistedGames": [ "Game Title 1", "Game Title 2", "Game Title 3" ]

I included the blacklistedGames property to provide better control. "Gigabash Demo" repeatedly triggered notifications prompting a purchase. Now, with the ability to define excluded games, I can skip titles that I cant buy.

claabs commented 11 months ago

Found the core issue of the demo being an expired offer. Fixed that for good here: https://github.com/claabs/epicgames-freegames-node/commit/8e9771ce57f67c57f1d532215ee479cd02642e5d

utarwyn commented 11 months ago

I noticed that over the last few days, this game was indeed impossible to purchase and notifications were systematically sent. Thanks for the quick fix 💪