Added upvotes and downvotes

Changes:
- Added upvotes and downvotes parsing.
- Added text to read from selftext and selftext_html.
- Added an texttype to imply what type of text is present (HTML or raw text)
- Added some documentation.
- A few minor changes (I hope).

- Removed the pinned field.

Todo:
- Remove texttype field and parse the selftext_html into raw text
This commit is contained in:
Uttarayan Mondal
2021-03-15 14:52:11 +05:30
parent 3df3e8ad00
commit c95dc097d4
4 changed files with 118 additions and 38 deletions
+2
View File
@@ -1,3 +1,5 @@
/target
Cargo.lock
rust.json
post.json
*.json