Statsugiri
Statsugiri copied to clipboard
Investigate Replay Refactor Outage
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