Post from 2024-08-20 13:18:38

@swapgs My problem is that Monorail appends a prefix (6 ASCII chars IIRC) to the JSON response that kills httpx unless I hack around it manually:

https://github.com/v-p-b/p0-bot-akkoma/blob/aa9dacb01711a5b00a607a64217aa8d29055e6d9/p0bot.py#L45

You can also see it when you check the raw response in browser devtools.

Any ideas?
permalink | main