An open API service indexing awesome lists of open source software.

https://github.com/ibnesayeed/reddit-scraper

A Ruby script to scrape Reddit objects
https://github.com/ibnesayeed/reddit-scraper

docker reddit reddit-scraper ruby scraper

Last synced: about 1 month ago
JSON representation

A Ruby script to scrape Reddit objects

Awesome Lists containing this project

README

          

# Reddit Scraper

A [Ruby](https://www.ruby-lang.org/) script to scrape public [Reddit](https://www.reddit.com/) data sequentially.

To run as an independent script:

```
$ ./reddit_scraper.rb [start_at [blocks_count [block_size [type_prefix [reddit_user [output_dir]]]]]]
```

To run in a Docker container:

```
$ docker run -d -v /host/data/directory:/output ibnesayeed/reddit-scraper [start_at [blocks_count [block_size [type_prefix [reddit_user [output_dir]]]]]]
```