Giter VIP home page Giter VIP logo

webscraping's Introduction

WebScraping

Webscraping routines for personal projects. These python routines depend on Beautiful Soup (bs4) and natural langu
age toolkit (nltk).

Some wrapper code has been written to do SQL queries on a database to facilitate storing the scraped data. Currently wrapped around SQLite3 for simplicity (Note: update this to use MySql instead).

RottenTomatoes (RT)

The following functions are defined:

getMovieURLRT([array]movie) - Performs a query on a movie title and movie year returning URL the best match RT movie web page. Failing that it returns an error code. Input is an [array]movie = ([string]year,[string]title).

getMovieMetaDataRT([string]url) - Given a RT movie page URL, return a dictionary of movie meta data including:

  • date movie was published
  • movie runtime
  • tomato meter for all critics
  • tomato meter for top critics
  • text blurb for critic consensus
  • list of writer(s)
  • list of director(s)
  • list of actors and characters
  • name of production company
  • list of movie genre(s)
  • movie rating
  • movie rating description text

getMovieReviewLinksRT([string]url) - returns critic review information including:

  • critic name
  • publication source
  • review text blurb
  • fresh or rotten [boolean]
  • top cricit flag [boolean]
  • URL to full review

NFL_News

webscraping's People

Contributors

caseyameakin avatar caseybreen avatar

Watchers

 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.