redlib icon indicating copy to clipboard operation
redlib copied to clipboard

🐛 Bug Report: Awards aren't showing up on posts or comments

Open ButteredCats opened this issue 1 year ago • 1 comments

Describe the bug

Awards aren't showing up on posts or comments.

Steps to reproduce the bug

Head to https://www.reddit.com/r/assholedesign/comments/1h6vo27/thanks_reddit/ on Reddit and on your favorite Redlib instance. See that the post and the top comment have awards on Reddit. See that neither have awards on Redlib.

What's the expected behavior?

The awards appear on Redlib.

Additional context / screenshot

Taking a look at https://www.reddit.com/r/assholedesign/comments/1h6vo27/thanks_reddit.json it seems that Reddit isn't showing any info about the awards as we get these instead of anything useful:

top_awarded_type	null
total_awards_received	0
all_awardings	[]
awarders	[]

Taking a quick look through the code it seems that Redlib was only using the all_awardings section to parse this info. I'm not sure if there's another spot to try and get that information from.

  • [x] I checked that the instance that this was reported on is running the latest git commit, or I can reproduce it locally on the latest git commit

ButteredCats avatar Dec 07 '24 00:12 ButteredCats

unfortunately doesn't appear that this info is exposed to the JSON api at all anymore :( this would rely on the big transition to the new GQL API. Got some stuff in the works w.r.t. this, hoping i'll be able to make progress on it soon

sigaloid avatar Dec 08 '24 08:12 sigaloid