3 ms·
How do you interface with IMDB? There are two ways I can think of but neither would work well in this scenario. Option one is to download their offline dataset
by click170 14y ago
How do you interface with IMDB? There are two ways I can think of but neither would work well in this scenario. Option one is to download their offline dataset[0] which is huge and which you aren't allowed to distribute with your program so each user would have to redownload it. Option two is to scrape their site, which they don't allow but is possible. There is no API to my knowledge, I tried to write a similar app once before, and they refused to give permission to scrape their site.
[0] http://www.imdb.com/interfaces/ http://www.imdb.com/interfaces/
- legaloslotr 14y agoUmm... well, there is this site http://imdbapi.com http://imdbapi.com; which does the scraping (or maybe they have the offline datasets!), and then you can get json replies from them.
- jkbr 14y agoIn the footer: Source: Freebase, licensed under CC-BY Other content from Wikipedia, licensed under CC BY-SA
- waterlesscloud 14y agoTheir source is shown as Freebase, which doesn't have anything to do with IMDB. It's freely usable data as long as it's attributed. I suspect they may have trademark issues with their site name, but their data looks free and clear. EDIT: Nirvana has a good point about the imdb ratings. That may not be legally obtained.
- nivla 14y agoI use IMDBapi and for one of my project and I can assure you that they are indeed scraping IMDB. The ratings, desc and the poster I get back is ditto to that of IMDB. It is a great service and I have also donated to them but as far as legality goes, not sure how they support IMDB's terms and conditions.
- seremoney 14y agoLooks like the app is using http://www.imdbapi.com/ http://www.imdbapi.com/. Check out "api_url" in config.py and the get_imdb_data() function in DBbuilder.py.
- nirvana 14y agoThis is confusing. On the imdbapi page, it says, at the bottom, its source is "Freebase" http://www.freebase.com/ http://www.freebase.com/ and Wikipedia. If I search for a movie on the imdbapi.com page, it has IMDB rating. IF I go to freebase for the same movie and search there is no imdb rating there (for obvious reasons, IMDB doesn't make this data available under any license, you'd have to scrape it[1]) The wikipedia page is very extensive, but doesn't have this rating either. [1] near as I can find.
- deleted 14y ago[deleted]