imdb script is bugging

If you made a script you can offer it to the others here, or ask help to improve it. You can also report here bugs & problems with existing scripts.
Locked
smartass

imdb script is bugging

Post 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
smartass

Re: imdb script is bugging

Post 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
Guest

Post by Guest »

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

to be precise, sorry for the mess

grz
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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
MovieMan

Movie Number

Post 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');
antp
Site Admin
Posts: 9651
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post 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 ;)
Locked