Page 1 of 2
IMDB changed a bit
Posted: 2003-08-29 16:59:08
by Hellspawn
*** edit by antp ***
Scripts update:
http://www.antp.be/temp/IMDBScripts.zip
*****************
2 bugs due to change from IMDB
URL:
http://imdb.com/Title|| ||<ht
Description: ... <a href="plotsummary">(more)</a> <a href="trailers">(view trailer)</a
URL: the number is not extracted correctly, instead there are 4 bold pipe symbols
Description: description id complete but there is something too much included, see above
I dont have the time the edit the script, can somebody do this please
thx
Posted: 2003-08-29 17:32:20
by Citanul
I solved the url but haven't looked into the problem of the description yet...
In the script editor search for the line
Code: Select all
SetField(fieldURL, 'http://imdb.com/Title' + copy(Page.Text, pos('href="/Title?',Page.Text)+12, 8));
and replace it with
Code: Select all
SetField(fieldURL, 'http://imdb.com/title/tt' + copy(Page.Text, pos('href="/title/tt',Page.Text)+15, 8));
problem not fixed !
Posted: 2003-08-29 20:44:55
by zenmester!!!
I just tried it and it didn't fix the problem
Posted: 2003-08-30 08:49:25
by Guest
Thx. The URL works now
.
Posted: 2003-08-30 09:10:58
by TrOn
To fix Description for IMDB (US) import go to the Description section of the script and find the line:
Code: Select all
EndPos := pos('<a href="/Plot?', Line);
Replace with:
Code: Select all
EndPos := pos('<a href="plotsummary">', Line);
I've tested it on some films and it works ok. The function pos returns the position of the first char of the string which marks the end of the description.
Posted: 2003-08-30 09:23:17
by TrOn
Oh, this fix only works for the small description, not for the long description.
Posted: 2003-08-30 10:34:21
by antp
Here are the 4 IMDB scripts with corrections (including long descriptions) :
http://www.antp.be/temp/IMDBScripts.zip
Unless somebody find movies that have problems with them, I'll include them with the program this afternoon.
Posted: 2003-08-30 11:13:02
by TrOn
IMDB
seems ok
IMDB (pic)
seems ok
IMDB (large pic)
Script error: IMDB at position 17602 (error in statement) while searching for the film Finding Nemo
Posted: 2003-08-30 12:43:52
by antp
corrected, thanks
There was a misplaced "0" on the front of the next line, I wonder what it was doing there
error in bacth script
Posted: 2003-08-30 14:26:26
by zenmester
the batch script is flawed, when i run it it gives me the following error message:
script error in IMDB postion 4920 (unknown identifier : USELONGDESCRIPTION)
i'm hoping that a fix is on the way or easy to corect as i have 857+ movies to download info on.
Posted: 2003-08-30 17:17:36
by TrOn
Movie: For da Love of Money
IMDB
Script error: IMDB at position 3269 (variable expected)
IMDB (pic)
Script error: IMDB at position 3288 (variable expected)
IMDB (parge pic)
Script error: IMDB at position 5175 (variable expected)
Posted: 2003-08-30 19:37:54
by antp
thanks for the info.
Scripts updated.
Posted: 2003-08-31 21:08:36
by KaBeCi
IMDB Large picture imports the small picture.
I've only tried with this movies and i got small pictures from all
Movies:
Se7en
Fight Club
Monty Python's The Meaning of Life
Taxi Driver
Un Oso Rojo (no pic avaiable)
I've also changed GetLargePicture to True on IMDB Batch, and it imported the small pictures too, except with Un Oso Rojo that i'm getting this error:
Script Error: IMDB at position 15309 (unknown identifier: FINDVALUE)
i think it has something to do with the large picture because it happens only when GetLargePicture is set to True.
Posted: 2003-08-31 21:43:21
by antp
Ok, updated.
For the large pictures that are not found, it is a known problem. Some movie work, some don't. Usually those that do not work are the ones with special symbols (":", "-"), strange titles ("seven"/"se7en") or that start by "the" and other similar words that are placed at the end on IMDB.
Unfortunately, it is quite difficult to make a link between IMDB and Amazon.
Some day I'll try to rewrite this part of the script, but it is not really funny
Posted: 2003-09-01 12:38:28
by Daffyrinzwind
Are the scripts up to date? I downloaded the scripts on this page, but still I get the "404 not found" error. I've tried this with Spiderman, Highlander: Endgame en lots of other movies. Or should I just download the full version again.
Greetz Daffyrinzwind
Posted: 2003-09-01 12:54:20
by antp
if you have Ant Movie Catalog 3.4.2 you just have to download the .zip file at the top of this page, and put the four .IFS files over the other ones, in the Scripts folder (check the dates of the file to be sure that they have been overwritten).
Which one of the four IMDB scripts gives you a 404 error ?
Posted: 2003-09-01 17:39:06
by Guest
Yep, it's the 3.4.2 version I have.
I'm quit new to the program, so it's possible that I made a wrong setting or some sort.
I used the IMDB (pic).ifs along with these settings.
Server : pac.pandora.be Port : 8080
And then my userid and password of course.
I reviewed the code and it seems he only puts :
http://imdb.com/title/tt and then no number of movie.
Posted: 2003-09-01 19:09:02
by antp
pac.pandora.be is not a proxy server, it is only a web server that sends to IE a proxy configuration script.
You should use proxy.telenet.be on port 8080
Posted: 2003-09-01 20:14:19
by Daffyrinzwind
Thanx. All works fine now.
Greetz Daffyrinzwind
Posted: 2003-09-08 17:49:37
by KaBeCi
IMDB BATCH doesnt get the large picture.
i've changed this line
ImportLargePicture = False;
to this one
ImportLargePicture = True;
and stills doesnt get the largeure, it always retreive the small picture.
why??
IMDB (large pic) get the large pic OK!! but IMDB (batch) doesnt!