Amazon (large pic) modify for working

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
MercurieVV
Posts: 1
Joined: 2004-12-07 21:36:42
Location: Latvia
Contact:

Amazon (large pic) modify for working

Post by MercurieVV »

May be amazone change some code, but many pictures have not downloaded. I correct a code for that plugin, for normal work.
Its around #105 line

Code: Select all

    if (FindLine('Below are results for',AmazonPageNOHTML,0) <> -1) OR (FindLine('All results',AmazonPageNOHTML,0) <> -1) OR (FindLine('Results for',AmazonPageNOHTML,0) <> -1) OR (FindLine('Most popular results for',AmazonPageNOHTML,0) <> -1) then
I add a search condition 'Results for'.
antp
Site Admin
Posts: 9639
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Thanks for the info :)
Sanaa

Post by Sanaa »

Where is in Imdb script search result (Years) of Movies?
antp
Site Admin
Posts: 9639
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

sorry, I do not understand your question :??:
KoVaR

Post by KoVaR »

it's not working :(
antp
Site Admin
Posts: 9639
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

What's the problem ?
If you get an error when running the script, try to remove the "NOHTML" parts from the above code.
Guest

Post by Guest »

Earlier in result of search was year of movie release,but now it is not present

Ex: Mummy, The (2002)
Mummy, The (1968)
Mummy, The (1922)....

now: Mummy, The
Mummy, The
Mummy, The
antp
Site Admin
Posts: 9639
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

you mean IMDB ? (this thread was about Amazon)

IMDB script has been fixed : viewtopic.php?t=1678
Guest

Post by Guest »

antp wrote:What's the problem ?
If you get an error when running the script, try to remove the "NOHTML" parts from the above code.
Just tried that and still not working

Code: Select all

Script error: AMAZONIMPORT at position 3230 (then expected)
antp
Site Admin
Posts: 9639
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

please copy the full line where the error is, including 1 or 2 previous and next lines ;)
Sanaa

Post by Sanaa »

Sorry, i did no see

thanx


but (for imdb (big)+amazon script) sometimes big pictures do not downloaded, for example it is possible to check up on "Scary movie"

If i start "Sacary movie 1", picture big, if second part - small picture
antp
Site Admin
Posts: 9639
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I know, there are problems with IMDB big picture script, but that's since a long time.
KoVaR

Post by KoVaR »

OK....
I am not sure if I did this corretly
It goes like this:
Amazon (large pic).ifs stopped working
As MercurieVV suggested I replaced this line (line # 103)

Code: Select all

   if (FindLine('Below are results for',AmazonPage,1) <> -1) OR (FindLine('All results',AmazonPage,1) <> -1) OR (FindLine('Most popular results for',AmazonPage,1) <> -1) then
with this one

Code: Select all

   if (FindLine('Below are results for',AmazonPageNOHTML,0) <> -1) OR (FindLine('All results',AmazonPageNOHTML,0) <> -1) OR (FindLine('Results for',AmazonPageNOHTML,0) <> -1) OR (FindLine('Most popular results for',AmazonPageNOHTML,0) <> -1) then
Now Im getting this error I wrote about, in this line
(I also tried removing NOHTML from it but no effect)
I start to think I did something wrong...
How should I understand this sentence:
I add a search condition 'Results for'.
antp
Site Admin
Posts: 9639
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Except if a string (text between '...') is cut on two lines, I do not know what could cause a problem :/
KoVaR

Post by KoVaR »

so...
Is there any working Amazon large pic script ?
antp
Site Admin
Posts: 9639
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

For me it works with the modifications from first post of the topic :
http://antp.be/temp/scripts/Amazon%20(large%20pic).ifs
KoVaR
Posts: 7
Joined: 2004-12-26 13:54:03

Post by KoVaR »

It's working :grinking:
but how so I update imdb script to get images from amazon ?
simply adding amazon script at the end of imdb script will do it ?
antp
Site Admin
Posts: 9639
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

No, it is not so easy.
And if it was easy, I would have done it already :p
Post Reply