Page 1 of 1

imdb import based on movie URL

Posted: 2004-04-25 01:43:49
by Guest
Is there any way to import some movie informations from imdb using the URL? I have a script which import title, rating full, multiple categories etc. and I want to update some titles with the small/big picture. Thanks.

Posted: 2004-04-25 09:06:07
by antp
Using the Tools -> Scripting command, and if you have the IMDB URL in the URL field (for example) you can modify any script like that :
Somewhere in the script there is a line that looks like that :
AnalyzePage('http://us.imdb.com/Tsearch?title='+UrlEncode(MovieName));
Put a // in Front of it to comment it, and add
AnalyzePage(GetField(fieldURL));

Posted: 2004-04-25 18:48:47
by Guest
I will check that. Thank for your answer.

Posted: 2004-04-25 21:52:02
by Guest
... but don't work. The message is:

"Socket Error #10061. Connection refused."

I think the problem is in the procedure <AnalyzePage>, but I'm not sure. Can you give me a solution?

Posted: 2004-04-26 09:06:12
by antp
You called the script with Tools -> Scripting and not Get Information -> From Script ? In the second case it would not work.
Is the address in the URL field correct ?

Posted: 2004-04-26 21:03:19
by Guest
You are right, I called with "Get Information -> From Script" (Shift + F10), not with "Tools -> Scripting" (F6). In this version it work, for my surprize, even if I don't provide the title, just the URL, wich is what I wanted.

Is a little longer way, there are 2 more clicks, but it works! Thank you very much for your answers and for this beautiful program!

P.S. Anything new about the version 4?

Posted: 2004-04-27 08:38:01
by antp
Nothing new for version 4 since few months; unfortunately I do not work on it for the moment.