1 unstable release

Uses old Rust 2015

0.0.1 Nov 6, 2017

#11 in #movies

MIT license

15KB
255 lines

imdb

License: MIT

imdb is a Rust library to retrieve information from IMDb.

This is a work in progress and far from complete. For the time being you can check out the excellent python implementation IMDbPY, which is complete and very well maintained.

Installation

Add following lines to your Cargo.toml:

[dependencies]
imdb = "0.0.1"

Example

extern crate imdb;
use imdb::IMDb;

imdb = IMDb::new();
top250movies = imdb.top250_movies().unwrap()

License

This library is released under MIT License.


lib.rs:

imdb is a Rust library to retrieve information from IMDb.

Example

# extern crate imdb;
use imdb::IMDb;

imdb = IMDb::new();
top250movies = imdb.top250_movies().unwrap()

Unstable Internal APIs.

Avalability

These modules features unstable internal parser not available as part of general public api. There are no guarantees on backward compatibility on this module.

You have been warned!

What sort of changes?

Various assumptions have been made on HTML DOM of respective pages. Changes will be done to remove those assumption if they don't hold good. Changes will also be done to add more parsers for additional information, or at times possibly using different page for same information. Parsers for extracting information from IMDb html pages.

Dependencies

~20–30MB
~518K SLoC