Movie Indexer
Project description
Description
tarantula crawls your movie directory, and retrieves info, posters and trailer of the movies present from the International Movie Database(IMDb) and RottenTomatoes.com. It also creates a local database of the retrieved info. Information obtained includes Plot, Director, Actors, IMDb Rating, TomatoMeter, etc.
The sqlite database can then be searched using sql commands such as the Following, which shows you all the movies directed by Christopher Nolan.
Version
1.1.0b1
Modules
- getmoviedata - Gets info and posters of a movie
and stores in the form of text, json and an sqlite DB.
tarantula - Recursively searches a directory, identifying movies. Then calls getmoviedata.
replace - In case the info is wrong, the user can replace it.
How to Use
Extract all the files from the .tar or.zip file (either is fine) and run this from the command line:
python3 setup.py install
For help on usage, run the following from the command line:
tarantula.py --help getmoviedata.py --help replace.py --help
For Developers
In case you were thinking of using a module or two from this code, feel free to do so. This code is licensed under the MIT License, which means you can use it however you like as long as you preserve the copyright notice.
- Ways you could use the code:
Use the whole thing, and write a GUI for the data in the database, as use the posters and the trailers to add flavour.
Replace the crawler (tarantula) with your own, if you prefer some other language and use getmoviedata to get whatever you want.
Use everything, replacing the writer module alone, if you want to do something else with the data.
Use the wrappers for the RottenTomatoes and IMDb API’s - rtapi and imdbapi respectively.
Use only the trailer module to get the trailers of movies.
I have tried my best to follow the coding and documentation guidelines in PEP-8 and PEP-257, so hopefully you should have a pleasant experience reading the code.
Licensing
MIT License. Refer License.txt
Notes
Only tested on Python 3.2
Bug Reports/ Feature Requests can be sent to krishna.sundarram@gmail.com
Readme written on 10th January 2012.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
File details
Details for the file tarantula-1.1.0b1.zip
.
File metadata
- Download URL: tarantula-1.1.0b1.zip
- Upload date:
- Size: 25.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7534e41d9c8b7994a8f9e073bd4947a7adbdefaf44784ea740bfb3c80376364e |
|
MD5 | 1a675e995abd94c60ffe3e82b61643a3 |
|
BLAKE2b-256 | 91b691d2b597f7228f14ca0b711936ade586e3baa7728690133060781d846e57 |
File details
Details for the file tarantula-1.1.0b1.tar.gz
.
File metadata
- Download URL: tarantula-1.1.0b1.tar.gz
- Upload date:
- Size: 17.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ccccf2fc7ee9c28f76d47b5294067eabf07794c244a6725103cb4eb60f992a8 |
|
MD5 | e0f16ad4d4ceb589a0d020d04d423399 |
|
BLAKE2b-256 | 85f04c6d2cfd994d31af57cd5b0624f935b7d835b1b4af2abf66b15cb4937615 |