3

I want to do like a movie manager. And I wanted to provide my Java Application only the url of the movie on imdb and it automaticly get the producers name and other things.

It's working with other sites, bue with this one, instead of the HTML, I get a Java Error, caught by an exception...the 403 error (forbidden).

Timo Tijhof
  • 10,032
  • 6
  • 34
  • 48
user1728596
  • 41
  • 1
  • 5
  • 3
    And the traffic sent and received, and the exact error? Perhaps it's because there's a simple user agent check which prevents you from downloading the content, as per their [conditions](http://www.imdb.com/help/show_article?conditions): _"Robots and Screen Scraping: You may not use data mining, robots, screen scraping, or similar data gathering and extraction tools on this site, except with our express written consent as noted below."_. – CodeCaster Oct 08 '12 at 11:13
  • check http://en.wikipedia.org/wiki/HTTP_403 – Nandkumar Tekale Oct 08 '12 at 11:13
  • 1
    See also http://stackoverflow.com/questions/1966503/does-imdb-provide-an-api – Zarkonnen Oct 08 '12 at 11:14
  • @CodeCaster I was about to surf over to IMBD to check their EULA. What a surprise they don't want people reusing the data they went to so much trouble to collect and maintain. – Andrew Thompson Oct 08 '12 at 11:15

2 Answers2

2

If my prediction is right, imdb checks for browser info, just change your user-agent header, perhaps add a referrer header too, and you will be good to go.

thoaionline
  • 518
  • 2
  • 5
  • 14
1

403 error (forbidden)

Forbidden means "You're not allowed to do that". I don't know what answer you expected to get beyond "Don't do that".

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433