python - Reddit API is not working properly -


the ups , downs attribute of praw.objects.comments class not working properly. instead of showing total number of upvotes praw.objects.comments.ups showing difference between upvotes , downvotes. there anyway access information?

import praw reddit = praw.reddit("hackers") subreddit  = reddit.get_subreddit( "pics" ) top_submissions = subreddit.get_top() top_submission = next(top_submissions) first_comment = top_submission.comments[0]  print(first_comment.ups, first_comment.downs, first_comment.score) 

from post, don't think explicit , down vote counts available public anymore - looks make total score , upvotes same, , leave downvotes @ 0.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -