Unable to load image

TUI interface for rdrama.net

Update:

  • can now reply within the app, uses whatever your $EDITOR is set to

  • reply API still not working

  • replies aren't formatted correctly, will fix ASAP

  • replies working

18
Jump in the discussion.

No email address required.

OK, why are you using literal_eval() as cache mechanism? Injecting shit into AST is a bit strange, can't just pickle it (I know unmarshaling is also unsafe, but still)

One more thing, threads = response.json()['data'] is gonna blow sooner or later, getting HTTP 200 does not inform you whatever JSON returned correctly formatted. I did that way too many times. A check/redo would do some good here.

Jump in the discussion.

No email address required.

literal_eval is only for testing, I have saved responses from back when the API was working fully and gave comment trees.

And yeah it needs more error checking, tbh everything about it is beyond hacky. But hey, it werks.

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.