Live data from Hacker News

Show HN: I made a CLI to retrieve info from the IMDB

github.com

11–20 of 42 posts

Re: Show HN: I made a CLI to retrieve info from the IMDB

#12
post #8

Interesting, but you are not the pulling information from Imdb, according to the source code it is using omdbapi.com an independent site which used to be imdbapi.com until amazon issued them a C&D. Keep in mind OmdbApi states that it uses all other resources except IMDB to compile its data, so you may not find some movies/information only found in IMDB. Regardless, thank you open sourcing your work.

Yup, sorry if I didn't make that clear enough.

Re: Show HN: I made a CLI to retrieve info from the IMDB

#13

Nice work. I see IMDB still don't have an API. I wrote a little movie comparison web app in the past and had to resort to screen scraping IMDB too. Rotten Tomatoes on the other hand seems to embrace developers a lot more and has an excellent API. EDIT: Just realised you aren't actually screen scraping IMDB but using OMDB API ( http://www.omdbapi.com ) instead, I'll have to check that out.

IMDb do have an API, for eg. app.imdb.com, however this is meant for mobile applications and it can only be used if authorized in writing(!) by IMDb.

On CPAN there is WebService::IMDB module which uses this mobile API. Also there is IMBDB::File but (i believe) this works by web scraping IMDb website.

cpan links:

- https://metacpan.org/module/WebService::IMDB

- https://metacpan.org/module/IMDB::Film

Re: Show HN: I made a CLI to retrieve info from the IMDB

#17
post #16

Nice work. Just a couple of Python tips in case you wanted them. - Embrace PEP8 ( http://www.python.org/dev/peps/pep-0008/ ). It'll help other developers work with your code. - argparse.ArgumentParser has a parse_args method, so you don't have to mess around with sys.argv

Much appreciated, thanks.

Re: Show HN: I made a CLI to retrieve info from the IMDB

#19

Very interesting. we've been using TMDB.org for our site filmquotra.com but are not tied to it. how do you distinguish yourself from tmdb?

  > how do you distinguish yourself from tmdb
This is a command-line program for accessing movie information (via someone else's web API), not movie database system. Asking how he/she distinguishes his/herself from TheMovieDB, is... a little odd. It would be like asking XBMC how they distinguish themselves from IMDB.

Re: Show HN: I made a CLI to retrieve info from the IMDB

#20
post #19

Very interesting. we've been using TMDB.org for our site filmquotra.com but are not tied to it. how do you distinguish yourself from tmdb?

> how do you distinguish yourself from tmdb This is a command-line program for accessing movie information (via someone else's web API), not movie database system. Asking how he/she distinguishes his/herself from TheMovieDB, is... a little odd. It would be like asking XBMC how they distinguish themselves from IMDB.

thanks...i barely even understood your response to be honest...i'm not a programmer but trying to learn. love rentrak--i've been talking to someone there for a while now regarding a data feed.
Post reply on HN