Include comment content
This commit is contained in:
parent
c5d4677aab
commit
e14f6492ff
@ -243,6 +243,7 @@ class Submission:
|
||||
# Parse content from non-hidden comments
|
||||
comment.author = self._api.get_user(comment_element.select('.comment_username')[0].text.strip())
|
||||
comment.timestamp = datetime.fromtimestamp(int(comment_element.get('data-timestamp'))) # FIXME: Needs to account for timezone difference since these are server-local epochs. Seems to be hosted in New York's TZ
|
||||
comment.content = comment_element.select('.comment_text')[0].text.strip()
|
||||
|
||||
self._comments.append(comment)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user