Scrape data of all the episodes of a Tv Series from IMDB.
Run
python setup.py install
tvstats is based on Python 2.7. Requires BeautifulSoup4 for parsing, requests for downloading html.
Matplotlib is required(optional) for using graph module.
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
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:).
Let me know about the issues at https://github.com/leosartaj/tvstats/issues. Feel free to add new graphs or improve the existing one's.
All the datasets can be found here. Graphs were made using graph function in 'graph.py'.