Statsugiri icon indicating copy to clipboard operation
Statsugiri copied to clipboard

Investigate Replay Refactor Outage

Open kelvinkoon opened this issue 1 year ago • 2 comments

Describe the issue The PS replay site has been refactored as per: https://twitter.com/PokemonShowdown/status/1721051985720565853 Replay retrieval is broken on the data pipeline. This is a result of HTML parsing being changed.

The solution is as follows:

  • Replace replay fetching with the new API endpoint: https://replay.pokemonshowdown.com/api/replays/search?username=cosmo%20dancer&format=&page=1
  • Ensure replays are reverse chronologically ordered

Acceptance Criteria

  • [ ] Fix replay parsing
  • [ ] Fix unit tests
  • [ ] Deploy to prod

kelvinkoon avatar Nov 06 '23 04:11 kelvinkoon