Skip to content

TPedron/chrome_extension_rotten_tomatoes_cineplex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chrome_extension_rotten_tomatoes_cineplex

Searches for movie names on Cineplex.com webpages by the following class names that are frequently used:

  • movie-details-link-click found on urls like https://www.cineplex.com/Showtimes/any-movie/nearby-theatres?Date=12/29/2019
  • movie-item-title ng-binding found on urls like https://www.cineplex.com/
  • h3 theatre-movie-title margin-vertical-xs found on urls like https://www.cineplex.com/Theatre/scotiabank-theatre-toronto
  • showtime-card--title found on urls like https://www.cineplex.com/Movies/NowPlaying?cmpid=MainSubNavEN_now-playing
  • module-item--title found on urls like https://www.cineplex.com/Theatres/UltraAVX

Once a collection of movies names is created, we query Rotten Tomatoes' search API for each one and select the first result (a lazy assumption), pull out the "Tomato Score" and then send it back to the page to add to each instance of the movie name.

Available on the Google Chrome Extension store: https://chrome.google.com/webstore/detail/rotten-tomatoes-on-cinepl/fpjdonkdkbamkgmnbgopjpdeeeoilhfj?hl=en&gl=CA

As of v1.2 the extension also handles IMAX movie titles and most movies referencing subtitles.

TODO

  • Make Tomato Score in a different font to stand out
  • Make Tomato image link to the RottenTomatoes.com page the movie
  • Make Tomato image appear on urls like https://www.cineplex.com/Theatres/UltraAVX, right now its just a XX% that appears

About

Will display the rotten tomatoes score of a movies presented on the Cineplex.com website.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages