Live data from Hacker News

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

github.com

31–40 of 42 posts

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

#31

It's funny, this brings IMDB almost full-circle to its origins. Back in the early 90s it was first this huge text file distributed via usenet and ftp. I remember contributing a few points of a trivia about T2: Judgement Day , one being the mirror of Arnold's "Get out." line to the trucker in Terminator to Robert Patrick delivering the same to the helicopter pilot in T2 . Later on, after the volume of data was becomin…

While afaik not as complete, there's also

http://www.themoviedb.org/

The main thing missing night be the ability to identify movies uniquely by imbd id... Something that can be very nice while searching.

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

#33
post #24

What's with the recent trend to use aliases instead of proper installation? (c.f. datafart, on the frontpage yesterday) mv terminalIMDB.py ~/bin/imdb chmod +x ~/bin/imdb

People don't know how to actually make a python package. It's not hard.

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

#34

Looks good. I made http://www.deanclatworthy.com/imdb/ if anyone is interested too. Feel free to add it to your library.

Can you either charge for this or release it as OSS?

I doubt IMDB would be happy if I charged for it ;) I won't OS it for legal reasons (see what happened to imdbapi.com)

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

#35

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

Nice, thanks for the detailed post.

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

#36

It's funny, this brings IMDB almost full-circle to its origins. Back in the early 90s it was first this huge text file distributed via usenet and ftp. I remember contributing a few points of a trivia about T2: Judgement Day , one being the mirror of Arnold's "Get out." line to the trucker in Terminator to Robert Patrick delivering the same to the helicopter pilot in T2 . Later on, after the volume of data was becomin…

For some of this stuff you can use Freebase, which has an awesome queryable JSON API and a very open and permissive license. Our movie data is quite good for structured information, though not so much for unstructured trivia. [Disclosure, I work on Freebase for Google.]

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

#38

It's funny, this brings IMDB almost full-circle to its origins. Back in the early 90s it was first this huge text file distributed via usenet and ftp. I remember contributing a few points of a trivia about T2: Judgement Day , one being the mirror of Arnold's "Get out." line to the trucker in Terminator to Robert Patrick delivering the same to the helicopter pilot in T2 . Later on, after the volume of data was becomin…

IMDB still has a common cast search feature, offering both "show me the actors common to these two movies" and "show me the movies common to these two actors":

http://www.imdb.com/search/common

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

#39
post #19

Earlier quoted context omitted.

> 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.

  > i barely even understood your response to be honest
- IMDB & TMDB are collections of movie data.

- XBMC (aka XBox Media Center) is a piece of software that plays videos and will grab information about those videos from IMDB or TMDB to display to the user (e.g. when you're watching a movie, it will show you a synopsis of the movie, boxart, etc grabbed from the web).

- This post is just about a program that will allow you to say "I want information about a movie called A Christmas Story " and it will fetch that information from the web, and display it. The only real benefit of this, is being able to do the query/view the response from a text terminal, instead of just going to the website.

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

#40
post #24

What's with the recent trend to use aliases instead of proper installation? (c.f. datafart, on the frontpage yesterday) mv terminalIMDB.py ~/bin/imdb chmod +x ~/bin/imdb

Would the benefit of doing it the author's way be that you can check out new versions from git without having to move the python script to /bin every or /usr/local/bin every time you get a new version.
Post reply on HN