Skip to content
This repository has been archived by the owner on Jul 8, 2023. It is now read-only.

Include original Reddit response in JSON save #12

Open
kittsville opened this issue Dec 23, 2016 · 1 comment
Open

Include original Reddit response in JSON save #12

kittsville opened this issue Dec 23, 2016 · 1 comment
Assignees

Comments

@kittsville
Copy link
Owner

Currently only certain calculated properties are included in the resultant JSON. Given that many more properties may be desired later it would be useful if the entire original JSON response were saved. Using reddit.config.store_json_result = True the comment's JSON can be accessed via comment.json_dict. It could be wrapped in a meta object that specifies properties such as whether the data came from Reddit or archived in the PushShift API.

@kittsville
Copy link
Owner Author

As per this PRAW issue this method is no longer possible. As such I'll implement a helper that pulls each property out and makes a dict.

@kittsville kittsville self-assigned this Jan 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant