nandhp / python-imdb Goto Github PK
View Code? Open in Web Editor NEWPython interface to IMDb plain-text data files
License: BSD 2-Clause "Simplified" License
Python interface to IMDb plain-text data files
License: BSD 2-Clause "Simplified" License
Currently python-imdb
assumes that every supported data file is available in the database. It should be possible to skip some data files and have, e.g. a database that excludes color-info
.
I check out your python imdb script, and it works nicely also with aka titles :). Is it also possible to get the IMBD ID (like tt0000111)?
I am trying to run "example.py" and get this error: "IOError: [Errno 2] No such file or directory: 'imdb.zip.idx'". I am not sure what I am missing.
Hello! I am new to using python to query data. I downloaded the files and followed the instructions to create imdb.zip and imdb.zip.idx.
Now how do I use a file, say "example.py" to actually run queries? When I tried just running "python example.py", I got an error.
Sorry for my ignorance! Any help is appreciated!
Alyssa Byrnes
When I use the example.py file, I get an error after about 25 movies:
Traceback (most recent call last):
File "example.py", line 13, in <module>
print u'%s has rating %s/10 (%d ratings)' % (title, r.score, r.nratings)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 4: ordinal not in range(128)
I have looked on the internet, and I know I should do something with encode('utf-8'), however, I can't seem to find the place in the code where I should add this.
Hello!
I have imdb.zip and imdb.zip.idx properly downloaded. I downloaded just ratings, aka-titles, and movies, as suggested. When I run example.py, I don't get an error, but nothing prints. The titles table seems to not be populating.
I'm wondering what format the imdb.zip data file is in, ideally for reading. I intend to do some processing which involves iterating through movies, and I can't find a way to do anything besides search with this. As far as I can tell, this program does a fine job of cleaning and organizing the raw files from the IMDb, but no way to iterate. Is this possible, and/or is the data format documented (or standard) in a way that I can iterate myself?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.