All Movie Guide (En) Broken?

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.
Post Reply
GameGod
Posts: 11
Joined: 2006-05-05 06:57:59

All Movie Guide (En) Broken?

Post by GameGod »

I can't seem to get any info using the All Movie Guide script. Anybody else see this?
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Other people saw it as I already received few e-mails about that, but I did not receive any update of the script yet.
GameGod
Posts: 11
Joined: 2006-05-05 06:57:59

Post by GameGod »

I've sent a fixed version to Antoine. Please let me know if it works/has problems.

Thanks.
antp
Site Admin
Posts: 9636
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Thanks :)
I uploaded it to http://www.antp.be/temp/scripts/
baffab
Posts: 339
Joined: 2005-12-22 09:33:25
Contact:

Post by baffab »

I modified the line 513 by

Code: Select all

    MovieTitle := GetStringFromHTML(Page, '284px;word-wrap:break-word;"><a', '">', '</a>') + ' - ' + GetStringFromHTML(Page, '70px;word-wrap:break-word;"', '>', '</TD>') + ' - ' + GetStringFromHTML(Page, '190px;word-wrap:break-word;"', '>', '</TD>');
to see the year and the director on the list of title.
klepptoman
Posts: 21
Joined: 2006-01-01 10:04:57

Post by klepptoman »

GameGod Wrote "I've sent a fixed version to Antoine. Please let me know if it works/has problems"

The script is still importing random picture istead of the one for the title you request.

Thanks :cry:
GameGod
Posts: 11
Joined: 2006-05-05 06:57:59

Post by GameGod »

klepptoman wrote:The script is still importing random picture istead of the one for the title you request.

Thanks :cry:
I don't see this problem. Can you give me a few examples (titles)?
GameGod
Posts: 11
Joined: 2006-05-05 06:57:59

Script update 0.4.1

Post by GameGod »

Changes in this version:

a. Add year to list of titles returned by the site's search.
b. Pre-filter search results to just show movies, reducing unwanted matches from showing up.

New version sent to Antoine, please wait until its uploaded.
Last edited by GameGod on 2006-07-27 15:09:06, edited 1 time in total.
GameGod
Posts: 11
Joined: 2006-05-05 06:57:59

Post by GameGod »

baffab wrote:I modified the line 513 by

Code: Select all

    MovieTitle := GetStringFromHTML(Page, '284px;word-wrap:break-word;"><a', '">', '</a>') + ' - ' + GetStringFromHTML(Page, '70px;word-wrap:break-word;"', '>', '</TD>') + ' - ' + GetStringFromHTML(Page, '190px;word-wrap:break-word;"', '>', '</TD>');
to see the year and the director on the list of title.
Thanks, I've already modified the script to add the year to the title. I noticed this problem when the search returned multiple results with the same name :)
donnah
Posts: 11
Joined: 2006-08-18 19:25:07

Post by donnah »

Thanks for your work on this!

I find when I am searching for a movie tital that is also found under the AMG "Name" search - eg "Emma" or "Spinal Tap", the movie search results aren't part of the pick tree, just the name search results. Any possibility of forcing the search results to show the movie results only?
donnah
Posts: 11
Joined: 2006-08-18 19:25:07

Post by donnah »

I made this change and solved my own problem: on line 559, add '+~T1' as follows:

From: AnalyzePage('http://www.allmovie.com/cg/avg.dll?p=avg&opt1=12&sql=' + StringReplace(URLEncode(MovieName) + '~T1', '%20', '+'));

To:
AnalyzePage('http://www.allmovie.com/cg/avg.dll?p=avg&opt1=12&sql=' + StringReplace(URLEncode(MovieName) + '~T1', '%20', '+'));
Post Reply