Coder Social home page Coder Social logo

movie-ratings's Introduction

Scraping movie ratings and reviews from Common Sense Media

Script for scraping movie ratings and reviews from Common Sense Media written with Python using BeautifulSoup.

To run the script, you need to install the following packages:

  1. BeautifulSoup
  2. requests
  3. pandas

Run the script with the following command:

python scrape_movies_list.py
# Outputs a list of movies with their URLs

To scrape movie details, run the following command:

python get_data.py
# Outputs a dataset of movie details

This will create a csv file with the following columns:

  1. Movie Title
  2. Movie URL
  3. Movie Rating
  4. Movie Year
  5. Movie Genres
  6. Movie Reviews by Available Categories. This includes: Positive Messages, Role Models, Consumerism, and Other. If unavailable, the cell will be empty.

This will scrape all the movie details and save them in a csv file, which is around 11,000 movies. There is currently no support for setting a limit for the number of movies to scrape.

For research and educational purposes only.

License

This data belongs to Common Sense Media and should not be used for any commercial and/or non-academic purposes. If you make use of this dataset either as a whole or create a visualization based on this data, it is necessary to upload it with the following attribution:

Copyright (c) 2021 Common Sense Media

Common Sense Media Dataset by Aman Bhargava is licensed under CC BY-NC 4.0

movie-ratings's People

Contributors

thedivtagguy avatar

Stargazers

Karilyn Kempton avatar  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.