Live data from Hacker News

Search on imdb and get movie info in Node.js

github.com

1–10 of 12 posts

Re: Search on imdb and get movie info in Node.js

#3
I haven't checked the code, but if you are actually searching and parsing IMDB.com then you are violating IMDB's user agreements. There are certain titles that are not available for you to use. However.. IMDB allows you to download and use most of it's contents: http://www.imdb.com/interfaces

Instead of downloading and parsing available data and reinventing the wheel, I would also recommend using 3rd party free APIs like http://www.omdbapi.com/

Just a thought...

Re: Search on imdb and get movie info in Node.js

#4
post #3

I haven't checked the code, but if you are actually searching and parsing IMDB.com then you are violating IMDB's user agreements. There are certain titles that are not available for you to use. However.. IMDB allows you to download and use most of it's contents: http://www.imdb.com/interfaces Instead of downloading and parsing available data and reinventing the wheel, I would also recommend using 3rd party free APIs…

I've used and enjoyed themoviedb in the past.

https://www.themoviedb.org/documentation/api

Re: Search on imdb and get movie info in Node.js

#5
post #3

I haven't checked the code, but if you are actually searching and parsing IMDB.com then you are violating IMDB's user agreements. There are certain titles that are not available for you to use. However.. IMDB allows you to download and use most of it's contents: http://www.imdb.com/interfaces Instead of downloading and parsing available data and reinventing the wheel, I would also recommend using 3rd party free APIs…

It's using OMDB.js:

const omdb = require('omdb');

Re: Search on imdb and get movie info in Node.js

#6
post #3

I haven't checked the code, but if you are actually searching and parsing IMDB.com then you are violating IMDB's user agreements. There are certain titles that are not available for you to use. However.. IMDB allows you to download and use most of it's contents: http://www.imdb.com/interfaces Instead of downloading and parsing available data and reinventing the wheel, I would also recommend using 3rd party free APIs…

[deleted]

Re: Search on imdb and get movie info in Node.js

#7
post #5
post #3

I haven't checked the code, but if you are actually searching and parsing IMDB.com then you are violating IMDB's user agreements. There are certain titles that are not available for you to use. However.. IMDB allows you to download and use most of it's contents: http://www.imdb.com/interfaces Instead of downloading and parsing available data and reinventing the wheel, I would also recommend using 3rd party free APIs…

It's using OMDB.js: const omdb = require('omdb');

Ah okay! And ugh... boring. And HN title is misleading.

Re: Search on imdb and get movie info in Node.js

#8
post #3

I haven't checked the code, but if you are actually searching and parsing IMDB.com then you are violating IMDB's user agreements. There are certain titles that are not available for you to use. However.. IMDB allows you to download and use most of it's contents: http://www.imdb.com/interfaces Instead of downloading and parsing available data and reinventing the wheel, I would also recommend using 3rd party free APIs…

It correctly states to be a wrapper for this omdb package: https://www.npmjs.com/package/omdb Which in turn uses the omdb API.

Re: Search on imdb and get movie info in Node.js

#10
post #3

I haven't checked the code, but if you are actually searching and parsing IMDB.com then you are violating IMDB's user agreements. There are certain titles that are not available for you to use. However.. IMDB allows you to download and use most of it's contents: http://www.imdb.com/interfaces Instead of downloading and parsing available data and reinventing the wheel, I would also recommend using 3rd party free APIs…

> Instead of downloading and parsing available data

This is what goim does: https://github.com/BurntSushi/goim

There are maybe one or two other tools that can do this, but they are insufficient for $reasons or were too slow for my taste. There is a brief comparison toward the bottom of goim's README.

I update goim in a cronjob every Saturday morning (new IMDb data is updated weekly on Friday, IIRC). It's been humming along without incident for a few years now. :-)

Post reply on HN