Skip to content

Automation script for rating a movie you recently watched and to scrape data of similar movies. Written in node.js using puppeteer.

Notifications You must be signed in to change notification settings

jd3vi1/IMDb-automate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMDb Automated Recommendation Scraper

This is an automated web scraper written in node, using puppeteer.

demo

Features

  • Logs into the user's account, searches and rates a given movie/show.

  • Adds all similar movies to watchlist (skips if they're already added/rated).

  • Scrapes data from all the similar movies.

  • Sharing a movie quote from the recently watched movie to Twitter.

  • Stores the scraped data in JSON format.

  • Also creates and opens an HTML page, showing what movies to watch next, sorted by IMDb rating.

  • Stylize the HTML page using CSS or by using a templating language like handlebars.

  • Convert to PDF.

  • Showing where you can watch the recommended movies. (Decider.com)

  • Email the recommendations to the user.

Usage

  • Clone the repository.

  • Open the base directory of the repository.

  • Run the following command in terminal:

    npm install
  • Create a credentials.JSON in the activity folder file with your IMDb account email and password as follows:

      {
          "email": "YOUR_EMAIL_ID_HERE",
          "password": "YOUR_PASSWORD_HERE",
          "password2": "TWITTER_PASSWORD_HERE",
          "adminEmail": "MAILER_ID_HERE",
          "adminPassword": "MAILER_PASSWORD_HERE"
      }

    Note: IMDb account and Twitter account should have same email id, otherwise you'll have to make changes in the code.

  • Open a terminal in the activity folder and run the following command:

    node recommend.js credentials.json "MOVIE_TITLE_HERE" YOUR_RATING_HERE

About

Automation script for rating a movie you recently watched and to scrape data of similar movies. Written in node.js using puppeteer.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages