slammajamma28 / PST_TimeEvent

Automated tracking for PST's Wait a Minute event
https://slammajamma28.github.io/PST_TimeEvent/tracker.html
0 stars 0 forks source link

Update is missing many people #27

Closed slammajamma28 closed 1 year ago

slammajamma28 commented 1 year ago

There has been an issue of the tracking missing everyone occasionally. The fix is typically to run it again or it fixes itself on the next run.

I was notified and ran it immediately, I saw the "Cloudfare browser check" page that I was aware of but hadn't been subject to before. I believe this is because I am launching a Selenium browser in order to pull the Hidden trophies number as it is not available until the number is hovered over.

The PSNs were quickly looped through as it was unable to find the hidden number box and when it fails on that, I set hidden trophies to 0 when the exception is caught as the hidden trophies element cannot be found if it doesn't exist.

Will need to add logic to Selenium to perhaps wait for an element to be available before trying to pull the trophy count.

slammajamma28 commented 1 year ago

I want to leave this open for a bit to see if the new logic works as expected.