Scrape data of all the episodes of a Tv Series from IMDB
Project description
Tvstats
Scrape data of all the episodes of a Tv Series from IMDB.
Installation
Run
python setup.py install
Dependencies
tvstats is based on Python 2.7. Requires BeautifulSoup4 for parsing, requests for downloading html. Matplotlib is required(optional) for using graph module.
Usage
Run the simple command
tvstats url
to generate json data. URL should point to homepage of a tv series. eg. http://www.imdb.com/title/tt0108778/?ref_=fn_al_tt_1
For options and help run
tvstats -h
Why?
Here are my reasons:
I was bored and had time to kill.
I love watching Tv Series. Thought it would be good to analyse some data before starting a new one.
Graphs are fun.
Lastly, I wanted to test out BeautifulSoup4 :).
Issues, Bugs, Graphs?
Let me knwow about the issues at https://github.com/leosartaj/tvstats/issues. Feel free to add new graphs or improve.
Examples
All the datasets can be found here. Graphs were made using graph function in ‘graph.py’.
Friends
Game Of Thrones
Breaking Bad
The Big Bang Theory
How I Met Your Mother
Prison Break
Hannibal
Suits
Dexter
Arrow
Person Of Interest
Homeland
House Of Cards
How to Get Away With Murder
Orange Is The New Black
Shameless
Sons Of Anarchy
Spartacus
The Walking Dead
Vikings
Flash
The Wire
Continuum
Lost
The Sopranos
Releases
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tvstats-0.0.2.tar.gz
.
File metadata
- Download URL: tvstats-0.0.2.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8370f062a5bf6ab66679a1e174f8364939c93ff3a8c64375826ef5e8a39a0ba |
|
MD5 | 39b97a59a640f53ce25e95a3e887e3a0 |
|
BLAKE2b-256 | 95d4d012632001c7bd791086957bb134b1964da265c44688bcaaea0b55466bc9 |