Andrew Banchich

Results 108 comments of Andrew Banchich

Hi, you're welcome! From your snippet: ``` "can_gild":false ``` I added a feature in `0.7.0` that should be logging a message about this: https://github.com/andrewbanchich/shreddit/pull/30 If a post has `"can_gild":false` that...

> Huh. That's odd... I can see the post even if I go incognito. That is weird then. Maybe the API changed since that comment was made about `can_gild`. It's...

Could you try 0.7.2? Others noticed a similar error which turned out to be because Reddit updated the response of their API which broke Shreddit.

@hawkw It does handle it (see the link I posted) but just not by default.

That makes sense to me. I'll give this a shot and have a pull request soon.

@hawkw Any thoughts on me swapping out `ansi_term` for [colored](https://github.com/mackwic/colored)? `colored` has full Windows support and doesn't look like you need to call any special functions conditionally. Plus, it looks...

Hi! That implies that the response from Reddit's API is failing to deserialize into JSON [here](https://github.com/andrewbanchich/shreddit/blob/master/src/things/post.rs#L178). If you'd like to try it out yourself you could debug this by cloning...

``` [src/things/post.rs:179:5] res1 = "" ``` That's... interesting. Reddit's API is responding with an empty body. Can you try to `dbg!` `send().await.unwrap().headers()`?

Hi, could you split this up into different PRs? I'm not sure what issue you're addressing with "fix the workflow". I think the Mac support looks good - it's just...

thanks so much! sorry it took so long :sweat_smile: