Giter VIP home page Giter VIP logo

series_imdb_scraper's Introduction

IMDb Series Scraper

Command console tool for scraping all individual IMDb scores of all episodes of a series and plot them as lineplot.

Requirements

requests==2.25.1
numpy==1.20.2
pandas==1.3.4
matplotlib==3.3.4
seaborn==0.11.1
lxml==4.7.1
bs4==0.0.1

Usage

Add the title of the series as command line argument. The program is making use of IMDb's search function, so the name doesn't have to be spelled completely correct.

Usage:

$ python scraper.py -h
usage: scraper.py [-h] [-p] [-m] [-r] t

positional arguments:
  t                 title of series

optional arguments:
  -h, --help        show this help message and exit
  -p, --plot        create plot from results
  -m, --mean        add mean to plot
  -r, --regression  add regression to plot

Example:

$ python scraper.py "Game of Thrones" -p

Output:

Found IMDb ID: tt0944947
Scraping Season 1
Scraping Season 2
Scraping Season 3
Scraping Season 4
Scraping Season 5
Scraping Season 6
Scraping Season 7
Scraping Season 8

series_imdb_scraper's People

Contributors

sebastianden avatar sebarn 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.