I'm using PRAW to work with reddit submissions, specifically submissions that have been resolved and have their "flair" attribute set to SOLVED (as described here).
However, I am getting "None" when I check for flair, even for submissions that I can see have been set to SOLVED.
I have the following code, which works with a submission that has definitely been set to SOLVED.
solvedSubmission = reddit.submission(url='https://www.reddit.com/r/PhotoshopRequest/comments/6ctkpj/specific_can_someone_please_remove_kids_12467_i/')
pprint.pprint(vars(solvedSubmission))
This outputs:
{'_comments_by_id': {},
'_fetched': False,
'_flair': None,
'_info_params': {},
'_mod': None,
'_reddit': <praw.reddit.Reddit object at 0x10e3ae1d0>,
'comment_limit': 2048,
'comment_sort': 'best',
'id': '6ctkpj'}
Can anyone offer any insight as to why I'm seeing "None", on this post and other solved posts? Is there another way that reddit keeps track of solved posts that I should look into?
Thank you!