Skip to content

tylerjl/filmdate

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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