IMDB changed a bit
IMDB changed a bit
*** 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
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
I solved the url but haven't looked into the problem of the description yet...
In the script editor search for the line
and replace it with
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));
Code: Select all
SetField(fieldURL, 'http://imdb.com/title/tt' + copy(Page.Text, pos('href="/title/tt',Page.Text)+15, 8));
To fix Description for IMDB (US) import go to the Description section of the script and find the line:
Replace with:
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.
Code: Select all
EndPos := pos('<a href="/Plot?', Line);
Code: Select all
EndPos := pos('<a href="plotsummary">', Line);
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.
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.
error in bacth script
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.
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.
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.
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.
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
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
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 ?
Which one of the four IMDB scripts gives you a 404 error ?
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.
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.