Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 667 Bytes

README.md

File metadata and controls

31 lines (26 loc) · 667 Bytes

redditosint

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

forthebadge

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 "
}