Code Monkey home page Code Monkey logo

product-mention-scraper's Introduction

product-mention-scraper

Testing a scraper for keyword mentions on reddit

Considerations

The ideal performance would be a user types in a keyword (i.e. spiderman) and a list of every occurence is returned. This is untenable for a few reasons:

Conclusion

  • This was fairly successful, I didnt end up scraping but pushshift provides a pretty solid API for reddit (way better than Reddit).
  • If you just search for an object i.e. 'carrots' you are going to get a ludicrous amount of noise around your search.
  • I included a list of verbs that we also check for in the comments. So I want all comments around ('carrots', ['cook', 'plant'])

TODO

  • figure out some way around the rate-limiting so I can pull more data from comments (100 per request but would be nice to get a ~a thousand comments to parse), I could achieve this by rewriting this on the FE and have users make requests instead of the server, or creating several API users (it is pretty easy to make multiple reddit accounts).
  • Move all the filtering and verb stuff to the frontend, this should just return the results, that was users can decide how to filter the data once they have it

product-mention-scraper's People

Contributors

emcelyea avatar

Stargazers

 avatar

Watchers

Kostas Georgiou avatar  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.