Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Store] PS Plus monthly games #141

Open
ISlip3890 opened this issue May 13, 2023 · 12 comments
Open

[Store] PS Plus monthly games #141

ISlip3890 opened this issue May 13, 2023 · 12 comments

Comments

@ISlip3890
Copy link

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
Copy link
Owner

vogler commented May 18, 2023

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

@ISlip3890
Copy link
Author

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

@vogler
Copy link
Owner

vogler commented May 18, 2023

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 vogler changed the title Claim PS Plus monthly games [Store] PS Plus monthly games May 18, 2023
@vogler
Copy link
Owner

vogler commented May 19, 2023

I've got an initial working version of this here: 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 #107 (reply in thread)

@vogler
Copy link
Owner

vogler commented May 26, 2023

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

@OJ7
Copy link
Contributor

OJ7 commented May 26, 2023

@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
Copy link

benwaco commented Jun 30, 2023

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
Copy link

benwaco commented Jun 30, 2023

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

@trixor
Copy link

trixor commented Feb 10, 2024

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

@viperdriver2000
Copy link

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

@OJ7
Copy link
Contributor

OJ7 commented Aug 28, 2024

@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
Copy link

Too bad to hear but thanks for the feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants