#Overview
Script analyzes current films which are playing in theaters and calculates average age of cast. By default it shows only films if more then 70% of cast members has birthday in tmdb.org and freebase.org(This parameter is called accuracy). Movies without cast are not shown.
#Requirements
- Python 2.7
#How to run
- clone repo
- cd to repo/path
- run
python -m movies.main
#Additional usage
usage: python -m movies.main [-h] [-c CONCURRENCY] [-f] [-a ACCURACY] [-p MAX_PAGES]
[-s START_PAGE]
optional arguments:
-h, --help show this help message and exit
-c CONCURRENCY, --concurrency CONCURRENCY
number of parallel workers(25)
-f, --freebase fallback to freebase to find actor's birthday(false)
-a ACCURACY, --accuracy ACCURACY
Min accuracy to show(70)
-p MAX_PAGES, --max_pages MAX_PAGES
Max number of pages from tmdb now playing api(10)
-s START_PAGE, --start_page START_PAGE
Start page from tmdb now playing api(1)