vogler / free-games-claimer

Automatically claims free games on the Epic Games Store, Amazon Prime Gaming and GOG.
GNU Affero General Public License v3.0
2.6k stars 157 forks source link

[Store] PS Plus monthly games #141

Open ISlip3890 opened 1 year ago

ISlip3890 commented 1 year ago

Is it possible if the bot will be able to claim the Playstation plus games that come out monthly depending on your subscription tier (Premium, Essential, Extra)?

Link to page: https://www.playstation.com/en-gb/ps-plus/

vogler commented 1 year ago

Sure. I don't have a Playstation, so I probably won't implement it.

ISlip3890 commented 1 year ago

Ah thanks! I was just considering what a pain it is to remember to claim them.

vogler commented 1 year ago

You can copy gog.js and try to make a PR. https://playwright.dev/docs/debug#playwright-inspector The main work is finding stable selectors and avoiding race conditions if stuff is loaded dynamically 😄

vogler commented 1 year ago

I've got an initial working version of this here: https://github.com/vogler/free-games-claimer/compare/main...OJ7:free-games-claimer:psn

Still has some bugs with previous login state not always being correct (the playstation website is weird and sometimes requires clicking sign in a few times), but re-running the script a couple times should allow it to go through.

Looking for some testers to verify functionality (especially since I've already claimed games for the month).

Originally posted by @OJ7 in https://github.com/vogler/free-games-claimer/discussions/107#discussioncomment-5951136

vogler commented 1 year ago

@OJ7 Do you want to open a PR for it or is something missing?

OJ7 commented 1 year ago

@vogler Yeah, I still want to clean up some code and need to update the README with proper information. Also, captcha detection isn't working properly so may need to work a little more on that too.

benwaco commented 1 year ago

Hey mate, trying this out and it only seems to be picking up 3 games. Any idea on how to fix this?

CleanShot 2023-06-29 at 21 23 45@2x

benwaco commented 1 year ago

oh its doing what is intended. I thought it would claim every free ps plus game. disregard

trixor commented 9 months ago

Just stumbled on this repo, I'd love to see this added as well! :).

viperdriver2000 commented 2 months ago

@OJ7 have you made progress? can it possibly be made available to everyone.

OJ7 commented 2 months ago

@OJ7 have you made progress? can it possibly be made available to everyone.

I haven't worked on it in over a year and not planning on doing anything further since there's another PR someone else was working on it (plus I find it faster to just claim the games using the PS app once a month).

viperdriver2000 commented 2 months ago

Too bad to hear but thanks for the feedback.