Skip to content

doidor/imdbnewly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMDbNewly

IMDbNewly is a simple python script which fetches the movies recently added into IMDb's top 250 list. It then generates 2 static files (html and txt) with the fetched data.

You can find an online version here.

Usage

Paste from python imdbnewly.py -h

usage: imdbnewly.py [-h] [-f] [-a] [-ht] [-b]

Find the newly added movies to imdb's top 250.

optional arguments:
  -h, --help   show this help message and exit
  -f, --fetch  fetch imdb's current top 250 list
  -a, --ascii  print the newly added items in ascii format
  -ht, --html  print the newly added items in html format
  -b, --both   print both the ascii and the html formats

I run this as a cronjob, like this:

# re-fetch the top 250 list every 3 months
1 0 1 */3 * /usr/bin/python imdbnewly.py -f >/dev/null 2>&1
# generate the newly added movies list every day at 1 am
1 0 * * * /usr/bin/python imdbnewly.py -b >/dev/null 2>&1

Requirements

Paste from requirements.txt

  1. Python 2.7+
  2. Jinja2 2.7.3
  3. MarkupSafe 0.23
  4. argparse 1.2.1
  5. distribute 0.6.24
  6. imdbpie 1.4.4
  7. prettytable 0.7.2
  8. requests 2.3.0
  9. wsgiref 0.1.2

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published