Skip to content

scshepard/filmdate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

filmdate.py Build Status

Make a best-guess effort at a film title's release date.

This script leverages the excellent Open Movie Database (OMDb) library to figure out a film title's release date.

Returns zero and prints the year if the script can parse a release date, exits non-zero with an error message if something fails.

Use

Pretty easy. Note that you need the modules listed in requirements.txt, so get them installed however you like (usually pip install -r requirements.txt.)

As a command-line script:

$ ./filmdate.py True.Grit.avi
2010

From within python:

>>> import filmdate
>>> filmdate.year('The.Birds.mp4')
u'1963'
>>>

Testing

Also easy:

$ nosetests

About

Make a best-guess effort at a film title's release date.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%