redditosint

A simple ruby tool that scrapes reddit user's comment history and saves into a JSON file

Stars
5
Committers
2

redditosint

A simple ruby tool that scrapes reddit user's comment history and saves into a JSON file

Installation

git clone https://github.com/krishpranav/redditosint
cd redditosint
bundle installl

(or)

gem install redditosint
irb
require redditosint
redditosint.engage('exampleusername')

Output

{
  "author": "exampleusername"
  "subreddit": "examplesubject"
  "permalink": "https://www.reddit.com/r/examplesubject/comments/8830oa/example_post/dsads3/"
  "timestamp": "2019-2-19 19:18:21 -0100"
  "text": "Some Text Here "
}