IMDB Script not 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.
istanbulccc
Posts: 5
Joined: 2018-02-10 21:08:28

Post by istanbulccc »

J wrote:
what do you say to the problem with the video
guess that's not a bug in the script, but a little strange result from imdb search. The result depends on your script options, even the title search.

I don't believe the script checks the year of the movie before choosing a title automatically. In batch mode it normally takes the first in line from the search result (which depends only on the movie title).
Perhaps, if a year is already set by you, it can be integrated somehow in the searchURL, but I'm not sure IMDB supports this.

My advice is to set 'popular searches' option to 0 and, for importing data for just a couple of movies, the 'batchMode' as well. So you see the result list and can choose what movie will be imported.

with both options set to '0' you can choose between a couple of movies with the same name 'blood red'.

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

Post by antp »

sorry, I thought the video was about the "IO error" bug, I did not notice it was about a wrong movie selection
7.23
Posts: 3
Joined: 2018-02-16 16:53:48

Post by 7.23 »

antp wrote:Indeed, it seems that the problem comes from the non-www URL :grinking:
I uploaded a fixed version as 4.006
still getting same 3 errors, nothing changed for me after i updated script :(
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

You have the script in version 4.006 ?
Can you post a screen capture of which options and fields are selected? (as I guess it depends on what it tries to import from which page)
7.23
Posts: 3
Joined: 2018-02-16 16:53:48

Post by 7.23 »

my bad, it works now, for some reason i have 2 scripts folders, one in program files (x86), other in program data, so i updated in wrong folder ;)
AnthonyB
Posts: 19
Joined: 2011-08-20 07:27:50

Post by AnthonyB »

antp wrote:Indeed, it seems that the problem comes from the non-www URL :grinking:
I uploaded a fixed version as 4.006
Thank-you! 4.006 resolved the IOHandler errors for me.
joske
Posts: 4
Joined: 2018-01-28 13:40:02
Location: Belgium

Re: IMDB Script not working

Post by joske »

Bonjour,

j'ai posté deux fois une demande concernant le script IMDB. Sauf erreur, personne n'a réagi.
Pouvez-vous me dire si je ne respecte pas la bonne procédure ou qui pourrait m'aider?
Merci

Joske
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: IMDB Script not working

Post by antp »

Bonjour,
Le problème pour des demandes fort précises comme ça est que ça a moins de chances d'aboutir qu'une demande qui concerne beaucoup de monde.
J'essaie de prendre un peu de temps pour corriger le problèmes des scripts qui sont les plus utilisés si personne d'autre ne le fait, mais ici pour une demande spécifique il faut la chance que quelqu'un d'autre en ait besoin et le fasse ou ait simplement du temps libre à y consacrer...
herman
Posts: 15
Joined: 2017-12-25 11:02:29

Re: IMDB Script not working

Post by herman »

so imdb changed again code, its needed to update line 551

from

Value := TextBetween(Value, '<div class="text">','</div>');

to

Value := TextBetween(Value, '<div class="text show-more__control">','</div>');
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: IMDB Script not working

Post by antp »

Thanks
joske
Posts: 4
Joined: 2018-01-28 13:40:02
Location: Belgium

Re: IMDB Script not working

Post by joske »

Je comprends.
Merci de m'avoir répondu et bravo pour votre service.
cunhak9
Posts: 6
Joined: 2018-03-15 17:46:10
Location: Portugal

Re: IMDB Script not working

Post by cunhak9 »

"IOHandler value is not valid" error on "Importing picture from internet" using script 4.007
paminotu
Posts: 1
Joined: 2018-03-16 08:48:20

Re: IMDB Script not working

Post by paminotu »

Since yesterday it didn't grab the cover picture anymore :(
J
Posts: 224
Joined: 2008-02-17 17:09:26

Re: IMDB Script not working

Post by J »

yep, so IMDB changed again. Luckily it's easy to fix, we still have a loophole left.

just to change two lines:

Code: Select all

Value := StringReplace(Value, 'https://images-na.ssl-images-', 'http://images.');
to

Code: Select all

Value := StringReplace(Value, 'https://', 'http://');
Should do the trick for now, but Antoine needs to recheck and will update the script for you.
I will change IMD(actors) too.

have a nice weekend.
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Re: IMDB Script not working

Post by antp »

Thanks, I'll fix the script and update it as 4.008.

I'll have to upgrade AMC for newer version of TLS, so anyway when it will happen it will be able to handle IMDB's HTTPS.
Dorohedoro
Posts: 39
Joined: 2016-12-13 00:45:45

Re: IMDB Script not working

Post by Dorohedoro »

Thank you all so much for the constant work on this scripts.
chies1209
Posts: 4
Joined: 2018-03-23 22:14:16

Re: IMDB Script not working

Post by chies1209 »

Lately it give me error in line 5.
The line 5 is: StringUtils1, StringUtils7552;

What is happening
It is the IMDB.ifs of 2018-Mar-16

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

Re: IMDB Script not working

Post by antp »

Didn't you delete one of these two files? (these are .pas files located in the same folder as the scripts)
You can get them from http://update.antp.be/amc/scripts/ if needed
chies1209
Posts: 4
Joined: 2018-03-23 22:14:16

Re: IMDB Script not working

Post by chies1209 »

You are right. Fixed
Thanks
kalimagdora
Posts: 63
Joined: 2009-03-11 14:36:10
Location: Hungary

IMDB Script not working

Post by kalimagdora »

but this morning I get a new message: IOHandler value is not valid
Post Reply