Giter Club home page Giter Club logo

redditanalysis's Introduction

This code is based on https://github.com/ianhussey/RedditCommentScraper

Reddit Comment Scraper

Scrape comments from a given thread on reddit.com using PRAW

License

Copyright (c) gyrusdentatus 2017 ([email protected])

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License

Version

1.0 (20/11/2017)

Description

  1. Scrapes all comments from a given reddit thread
  2. Extracts top level comments
  3. Saves to a csv file (??? writer)

Known issues

None.

Notes

  1. Although the script only uses publiclly available information, PRAW's call to the reddit API requires a reddit login (see line 44).
  2. Reddit API limits number of calls (1 per second IIRC). For a large thread (e.g., 1000s of comments) script execution time may therefore be c.1 hour.
  3. To configure, cp Scraper_config.py.example Scraper_config.py and edit that file. To extract more comment fields such as author and creation date, override the comment_to_list function in the config file.

redditanalysis's People

Contributors

gyrusdentatus avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.