Open RePod opened 4 years ago
Damnit Sony.
Sorry they broke everything, PSDLE was loved by many.
While the new store is kinda borked, poking around under the hood it looks like most of the stuff is there, it's just not showing up (e.g. links to DLC, videos and screenshots for games, so on). Valkyrie seems to have made way for Gotham as picked out of the Cookie, and when poking at some of the script parameters (in __NEXT_DATA__, there is some juicy looking information about possible catalogue interrogation and query structuring.
productRetrieve seems to be the function that does the heavy lifting and I hazard a guess that it's going to the http://arkham-gql.arkham-gql.svc.cluster.local gql servers in order to pull out the necessary information. The web-based interface to this cluster appears to be https://web.np.playstation.com/api/graphql/v1/, but I didn't look long enough to tease out an API key or how to interface with it using the extant session.
I did see reference to pswCommerceAnywhere as what appears to be the main engine behind the site and there are elements that have Microsoft copyright text buried in them (common.js, but it doesn't identify which functions are Microsoft developed).
Hope this gives some helpful places to look / try out.
Progress is being made (for PS4/5, not legacy).
On a semi-related note it's weird the entries are sorted by an ACTIVE_DATE
but the API doesn't feel like providing that to the Library or the user. I'm also curious how the Library would look for someone with over 1000 items.
It's weird, but I found that through the iOS PS App, the embedded store in there is still the old version and still brought up PS3 and Vita data. It correctly showed a deal that had issued after the webstore was updated (PGA Tour 2k21), so the back end systems are still connected. Maybe it is something as simple as having the right token to pass to the older Valkyrie backend and it will respond?
I took a look at my library as I have over 1,000 items across all platforms (yay for years of PS Plus), but it only shows the PS4 / PS5 titles now, which don't add up to 1,000.
Testing for the Library. A glorified Export button. Runs immediately from the console so wait for the Library to finish loading. The Library app rewrites the URL, as expected, when changing tabs (such as switching between purchased and Plus) but the cache being accessed doesn't reflect this so a manual refresh is currently needed.
Other than NEXT_DATA
there is also APOLLO_CLIENT
which seems useful.
As for Valkyrie, even if manual session handling was attempted the implementation and longevity of it seems questionable.
So this PSDLE browser extension cannot be used to extract the download list for previously bought PS3 DLC since Sony removed the old PS3 Playstation Store completely, am I correct? Because no matter how much I try it doesn't work. I am running the browser extension on Firefox.
Original (2020-10-21)
**Browser:** All of them **Method:** See above **Online store version and language:** See above **PSDLE version:** See above **Monkey variant:** See above **Is Catalog enabled:** No --- **Problem:** Valkyrie and its services (Chihiro/Kamaji/Susuwatari) are gone! The v1s live on (at least Chihiro) in some form but require session authentication which Valkyrie previously handled for the whole store (and thus PSDLE). Neither were accessed directly but instead through the [Macross Brain service](https://github.com/RePod/psdle/blob/4d082303229c3337a67a4bb283afd563ab9ef531/psdle.js#L338) and pre-Valkyrie with the [entitlement manager](https://github.com/RePod/psdle/blob/17166650b4d1a1dadc6a180691c9ad50e81f92fc/psdle.js#L241). For why it currently doesn't start it wants the Valkyrie Ember application which no longer exists. And without its services getting past that wouldn't be beneficial anyway. **How to replicate:** Run it. **Other notes:** :disappointed: Any help is appreciated. --- **[Testing](https://gist.github.com/RePod/ad2b8049050fb0618c24d724db34d7e2)** for the *Library*.PSDLE 4.0.1 has been pushed live for Chrome, Firefox, and the website (direct/min/userscript/bookmarklet). More information about initial store support can be found in #85.
I already regret building onto the page.
2021-04-06 Update