All Projects → kaustubhhiware → rose

kaustubhhiware / rose

Licence: MIT license
Analyse all kinds of data for a TV series

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to rose

soap2day-dl
📺 Soap2day downloader: download TV series and movies in your terminal
Stars: ✭ 29 (-14.71%)
Mutual labels:  tv-series, tv-shows
DaumMovieTVSeries.bundle
Plex Metadata Agent for daum movie & tv series
Stars: ✭ 38 (+11.76%)
Mutual labels:  tv-series, tv-shows
DroidShows
A Reboot of DroidSeries Offline TV Shows Tracker
Stars: ✭ 69 (+102.94%)
Mutual labels:  tv-series, tv-shows
arch-plexpass
Docker build script for Arch Linux base with Plex Pass Media Server installed
Stars: ✭ 21 (-38.24%)
Mutual labels:  tv-series, tv-shows
WatchSomething
Project that uses an API to list movies and tv shows that are latest, popular, top rated & on air.
Stars: ✭ 11 (-67.65%)
Mutual labels:  tv-series, tv-shows
AndroidTVMovieParadise
Movie Paradise is an Android TV 📺 app. ExoPlayer, Dagger 2, RxJava libraries are used.
Stars: ✭ 68 (+100%)
Mutual labels:  tv-series, tv-shows
tvthemes
ggplot2 themes and palettes based on your favorite TV shows
Stars: ✭ 120 (+252.94%)
Mutual labels:  tv-series, tv-shows
scrapers
scrapers for building your own image databases
Stars: ✭ 46 (+35.29%)
Mutual labels:  scraper
python web scraping
Web scraping using python, requests and selenium
Stars: ✭ 40 (+17.65%)
Mutual labels:  scraper
barclayscrape
A small app to programmatically mainpulate Barclays online banking
Stars: ✭ 57 (+67.65%)
Mutual labels:  scraper
ColegaDondeEstaMiTFM
Un bot de Twitter que comparte cada hora un TFM hasta que Cristina Cifuentes enseñe el suyo.
Stars: ✭ 14 (-58.82%)
Mutual labels:  scraper
INMET-API-temperature
Crawler dos dados metereológicos de estações convencionais do INMET (BDMEP)
Stars: ✭ 32 (-5.88%)
Mutual labels:  scraper
twpy
Twitter High level scraper for humans.
Stars: ✭ 58 (+70.59%)
Mutual labels:  scraper
Federal-Parliament-Scraper
A scraper for obtaining information on the workings of the Belgian Federal Parliament.
Stars: ✭ 18 (-47.06%)
Mutual labels:  scraper
BookingScraper
🌎 🏨 Scrape Booking.com 🏨 🌎
Stars: ✭ 68 (+100%)
Mutual labels:  scraper
cat-message
Finds cat images/videos/gifs on reddit, sends them to my mom via applescript
Stars: ✭ 35 (+2.94%)
Mutual labels:  scraper
pinterest-web-scraper
Scraping Visually Similar Images from Pinterest
Stars: ✭ 26 (-23.53%)
Mutual labels:  scraper
stweet
Advanced python library to scrap Twitter (tweets, users) from unofficial API
Stars: ✭ 287 (+744.12%)
Mutual labels:  scraper
wordpress-scraper
Simple, easy-to-use scraper to scrape data from WordPress JSON API
Stars: ✭ 22 (-35.29%)
Mutual labels:  scraper
service.addic7ed
Subtitles addon for Kodi Mediacenter
Stars: ✭ 20 (-41.18%)
Mutual labels:  tv-shows

Rose

Analyse all kinds of data for a TV series. Available as a webapp at rose-tv.herokuapp.com.

THUNDERWOMAN!

Rose (of Two and a Half Men) is a highly intelligent, deceiving and manipulative woman. In the beginning of the series she was nothing more than one of Charlie's one night stand however she quickly turned into his stalker, she has an obsessive nature and both loves and resents Charlie.

Rose (this repository) aims to be something similar. For a given TV series, it scrapes the following:

  • U.S viewers (in millions)
  • IMDB ratings.

Why

Two and a Half Men is one of the few shows available on Indian English channels, of which I had watched a few episodes during JEE days. I had the recent urge to finish the series. One observation everyone would make is as the season progressed, the last seasons really took a hit. Series finale was the worst, hitting the lowest the series had ever seen (IMDB 4.3).

I wanted to observe if there was any pattern here. Due to lack of proper existing tools and GraphTV going down, I had to take matter into my own hands.

Results

The results are being rendered via Google sheets charts, because they're interactive. Clicking on a certain image would help, because I couldn't embed google charts in iframes.

The first chart plots views for each episode across seasons. The second chart plots views per episode and average season views.

TV views

IMDB

The dataset is available here for viewing.

Observations

Charlie Sheen was one of the male lead for first 8 seasons, who was replaced by Ashton Kutcher. The script writing went horrible, and some correlation in the data was expected.

The data confers. Observing the number of views, S11 and S12 took a big hit. S09E01 saw a change in the lead thus the spike in views. It was expected to see a spike in views every season finale, but that was not necessarily true here. Seeing IMDB, which mostly confers to scriptwriting, Season 9 onwards became really bad, so Ashton wasn't really to blame.

Usage

# install dependencies
> pip3 install -r requirements.txt

> python3 scrape_views.py -h

optional arguments:
  -h, --help            show this help message and exit
  -i, --imdb            Display only imdb ratings
  -w, --wiki            Display only wikipedia US TV viewers
  -s SHOW, --show SHOW  Provide show name
  -b, --bar             Display bar chart or not
  -a, --avg             Display averaged chart or not
  -e EPI, --epi EPI     Provide Episode name
  -c, --cast            Displays Cast of the show

# Plot averaged IMDB ratings for a show
> python3 scrape_views.py -i -a -s 'Two and a half men'

# Fetch information for a single episode
> python3 scrape_views.py -s 'Two and a half men' -e 'S03E06'

# Fetch information for the star cast of the show
> python3 scrape_views.py -c -s 'Two and a half men'

More imdb plots are available in GALLERY.md.

Running the webapp

The codebase related to the webapp can be found at webapp/ folder. Further details are available there.

# Option 1: Use procfile
> heroku local web

# Option 2: Run via flask directly
> cd webapp
> python3 flaskwebapp.py

ToDos

  • Scrape number of seasons from wikipedia page.
  • Make show urls dynamic. (Search wikipedia page and imdb page only by knowing show name)
  • Print details of episode / movie playing in default video player, akin to x-ray from Amazon Prime.
  • Tests! (Works with other series, but need to detect cornercases)

Contributors can have a look at text_logs folder to get a sample of the download response. Before contributing, please checkout CONTRIBUTING.MD

License

The MIT License (MIT) 2018 - Kaustubh Hiware. Have a look at the LICENSE for more details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].