Code Monkey home page Code Monkey logo

vicemo_scraper's Introduction

Vicemo Scraper

Kenny Kyunghoon Lee [email protected]

Introduction

  1. Vicemo Scraper is a Python web scraper that collects data from vicemo.com, which tracks real, publicly available Venmo transactions involving drugs, booze, and sex, created by Mike Lacher and Chris Baker. This module automatically cleanses and analyzes the data to create a simple visualization on the what the most frequently mentioned words and emojis related to sex, alcohol and drugs are on Venmo on a real-time basis.
  2. There are three .py files.
    • main.py
    • vicemo_scraper.py
    • visualization.py
  3. There are five relevant classes.
    1. LetMeScrapeThat() [vicemo_scraper.py]
    2. LetMeParseThat() [vicemo_scraper.py]
    3. LetMeAnalyzeThat() [vicemo_scraper.py]
    4. VicemoScraper() [vicemo_scraper.py]
    5. LetMeVisualizeThat() [visualizedata.py]
  4. [vicemo_scraper.py] is for the extraction of the data and analyzedata.py is for data analysis.
  5. DEMO (gif file): http://g.recordit.co/kzrtUat1eH.gif

Required External Dependencies

  1. Selenium webdriver (An headless web browser)
  2. PhantomJS
    • Can be downloaded from http://phantomjs.org/download.html
    • The executable file MUST BE located in PATH (where Python Interpreter is located (virtualenv))
    • Necessary to obtain HTML codes of the website rendered by Javascript
  3. BeautifulSoup (BS4)
  4. matplotlib

How to Run?

  1. Make sure the dependencies are installed properly.
  2. Place vicemo_scraper.py, visualizedata.py, and main.py in the same directory.
  3. Run main.py
    • NOTE: depending on your connection, it can take 15 - 30 seconds for the module to finish running.

vicemo_scraper's People

Contributors

kennylee15 avatar dependabot[bot] 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.