Page 1 of 1

imdb script is bugging

Posted: 2005-05-26 19:45:54
by smartass
i get a 404 error dialog when running the imdb script
also the url field always shows: http://us.imdb.com/title/tt

it calls GetPage(Address); where address is always empty

maybe the site has changed?

grz

Re: imdb script is bugging

Posted: 2005-05-26 19:55:14
by smartass
MovieNumber := TextBetween(PageText, '<input type="hidden" name="arg" value="', '"><input');
returns an empty string

maybe use this one instead
<input type="hidden" name="auto" value="

grz

Posted: 2005-05-26 20:00:01
by Guest
MovieNumber := TextBetween(PageText, '<input type="hidden" name="auto" value="legacy/title/', '"><input');

to be precise, sorry for the mess

grz

Posted: 2005-05-26 20:11:25
by antp
Right, thanks for the info.
I was search it while you posted your last message, and found the same than what you posted, so I guess it is correct ;)

I would use
<input type="hidden" name="auto" value="legacy/title/tt
(including the "tt") so we only get the movie number

Movie Number

Posted: 2005-05-28 05:56:24
by MovieMan
I found that for the trivia and awards portion of the script to run correctly you also nee to add a / otherwise the movie number has a slash on the end of it and the other pages give you 404 errors.

MovieNumber := TextBetween(PageText, '<input type="hidden" name="auto" value="legacy/title/tt', '/"><input');

Posted: 2005-05-28 07:58:14
by antp
Yes, this was already corrected in the script that I published yesterday on the other IMDB topic:
viewtopic.php?p=11494#11494
So I'll close this one, it's better to continue the discussion on the other one ;)