destan / imdb-data-parser Goto Github PK
View Code? Open in Web Editor NEWParses the IMDB dumps into CSV and Relational Database insert queries
Home Page: https://github.com/dedeler/imdb-data-parser
Parses the IMDB dumps into CSV and Relational Database insert queries
Home Page: https://github.com/dedeler/imdb-data-parser
extract tar.gz files
when i run imdbparser without any parameters it gives me error:
$ ./imdbparser.py
type: None
source_dir: None
destination_dir: None
update_lists: False
Parsing, please wait. This may take very long time...
Traceback (most recent call last):
File "./imdbparser.py", line 29, in <module>
preferencesMap = {"type":args.type.lower(), "destinationDir": args.destination_dir}
AttributeError: 'NoneType' object has no attribute 'lower'
When we run app with -u parameter, it downloads all of the lists again. We need to compare creation date and file size with downloaded files and download file if server has newer version.
Use a logger which at least prints:
... using a library we have talked about.
... to avoid burden of creating a new instance in every loop
Preferably in another package. It shall be invoked by a separate command-line argument like --toDb
. Also parsing into CSV be the default mode and this(--toDb) shall be another.
With a CLI command like --fresh-data
the application shall download the data into say ${imdb-downloads}
and shall use the files from there.
${imdb-downloads} path may be defined in properties file as proposed as in #7
Bind parsers to main function and activate CLI arguments
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.