Page 2 of 2

some progress made

Posted: 2004-06-17 19:19:33
by Guest
Ok, I've made some progress in diagnosing the problem: it only manifests itself when the movie's URL starts with a "0" (http://akas.imdb.com/title/tt0...). If the URL is of the form http://akas.imdb.com/title/tt1, http://akas.imdb.com/title/tt2, etc. it works fine

Now, I don't know enough about scripting to fix this. How is the leading zero handled by the script? The weird thing is, it's not just dropped as you can see from the examples below. The entire URL changes if there is a leading zero.

Here are two pairs. There are many others, though.

Correct: Another You
http://akas.imdb.com/title/tt0101356/

Incorrect: See No Evil, Hear No Evil
http://akas.imdb.com/title/tt0098282/

Correct: Bait
http://akas.imdb.com/title/tt0211938/

Incorrect: Money Train
http://akas.imdb.com/title/tt0289589/

Posted: 2004-10-19 04:03:15
by Guest
Curna or antp, can one of you fix this script please?

Posted: 2004-10-19 04:56:32
by Guest
More reports....

"Big Fish" doesn't work, it is not in the option to choose.

This script totally skip "Levity".

Posted: 2004-10-19 12:03:02
by antp
Anonymous wrote:Curna or antp, can one of you fix this script please?
Is it a bug in the official IMDB script too, or only in this modified version ?

Posted: 2004-10-20 20:47:32
by Guest
It is a bug in the official AMG also known as allmovie. Please try and fix it, many people use this script.

Posted: 2004-10-21 07:33:50
by antp
AMG seems to not like the way AMC encodes spaces in movie titles.

At the end of the original AMG script, there is:

Code: Select all

      AnalyzePage('http://allmovie.com/cg/avg.dll?p=avg&type=2&srch=' + URLEncode(MovieName));
replace it by:

Code: Select all

       AnalyzePage('http://allmovie.com/cg/avg.dll?p=avg&type=2&srch=' + StringReplace(URLEncode(MovieName), '%20', '+'));
It seems to work fine for AMG script for the movies you listed here.

For the AMG+IMDB, here is the correction. Replace:

Code: Select all

        AnalyzePage2('http://allmovie.com/cg/avg.dll?p=avg&type=2&srch=' + URLEncode(TheMovieTitle));
by:

Code: Select all

        AnalyzePage2('http://allmovie.com/cg/avg.dll?p=avg&type=2&srch=' + StringReplace(URLEncode(TheMovieTitle), '%20', '+'));
but I haven't tested it

Posted: 2004-10-21 15:00:45
by Guest
Thanks you for the timely fix, antp!!!! :grinking:

Hmm

Posted: 2004-10-26 13:58:20
by Guest
The fix returns an error. Even if it did work, it'd only fix the allmovie part. The part I'm worried about is the IMDb script not working with the titles above, and numerous others.