Scripts that need to be fixed / Scripts à corriger

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.
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

The website is UTF-8 coded and Ant Movie Catalog does not support Unicode. The script is from 2007 and at this time the website used charset windows-1251, as wayback machine shows. So it probably cannot be fixed anymore, but I'm really not an expert on coding questions and quite unsure about these things. Maybe antp can clarify ;)
bahakurd
Posts: 1
Joined: 2009-01-14 20:22:03

Post by bahakurd »

impawards script doesnt work lately. it finds movie but i cannot get pic from site.
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

bad4u wrote:The website is UTF-8 coded and Ant Movie Catalog does not support Unicode. The script is from 2007 and at this time the website used charset windows-1251, as wayback machine shows. So it probably cannot be fixed anymore, but I'm really not an expert on coding questions and quite unsure about these things. Maybe antp can clarify ;)
I missed this message.
Actually AMC does not support unicode except for 1 thing: converting UTF8 :D
So if you have a page in UTF8, you can use UTF8Decode to get a string in locale charset (so in this case the converted string will probably give something similar to the old windows-1251 site, if they did not change the layout of the page but just the encoding)
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

bahakurd wrote:impawards script doesnt work lately. it finds movie but i cannot get pic from site.
Change line

Code: Select all

txtTemp := '<img SRC="posters/';
to

Code: Select all

txtTemp := '<img src="posters/';
Enjoy
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

antp wrote:I missed this message.
No problem ;)
So if you have a page in UTF8, you can use UTF8Decode to get a string in locale charset (so in this case the converted string will probably give something similar to the old windows-1251 site, if they did not change the layout of the page but just the encoding)
So it should be possible to fix the script but you need local charset for bulgarian (kyrillic ?) characters installed to test and see the results - which I don't have. And it is probably a lot easier if it is done by someone who understands what is written on the page :D
msurg
Posts: 8
Joined: 2008-01-30 18:31:31

Post by msurg »

Script Update Request for BEYAZPERDE (http://beyazperde.mynet.com)

Beyazperde script needs to be updated, which was working until 10 days ago. Anyone please? It's not an issue of http header information mentioned previously. It really needs an update.

Thanks....
dustyboy
Posts: 3
Joined: 2009-01-18 17:05:53

Post by dustyboy »

msurg is right. we need an update for the beyazperde script. can somebody help??
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

Well, as beyazperde still seem to block AMC by user agent, you might be using a modified/patched version of AMC, do you? If so, there probably are only few people interested in fixing that script.. ;)
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

It really blocks AMC? If so I delete it from the scripts folder :/
bad4u
Posts: 1148
Joined: 2006-12-11 22:54:46

Post by bad4u »

Testing with user agent switcher it doesn't load the page on AMC settings (at least for me). There was another topic about that a year ago viewtopic.php?t=3557&highlight=beyazperde
MCVampire
Posts: 30
Joined: 2006-04-05 02:26:01

Post by MCVampire »

Bonjour,

J'ai des soucis avec le script de CinEmotions, il ne trouve plus aucun films depuis hier. Également, depuis environs 2 semaines, il ne prend plus les informations concernant le pays, l'année et la catégorie.

Je ne m'y connais pas assez pour tenter de le corriger moi même donc je poste le sujet ici et vais attendre patiemment.

Merci :D
psnowfr
Posts: 1
Joined: 2009-02-03 05:47:53

Post by psnowfr »

MCVampire, j'ai les meme probleme que toi, moi j'utilise plutot allocine et pareil, il ne trouve plus rien ...
MCVampire
Posts: 30
Joined: 2006-04-05 02:26:01

Post by MCVampire »

@psnowfr

Pour Allociné je n'ai aucun problème ... tu as la dernière mise à jour du début janvier ?

Pour CinEmotions ... je n'ai toujours aucun titre trouvé quelque soit le film, aucune mise à jour disponible.
Maurice Lorieu
Posts: 15
Joined: 2006-11-05 17:28:35

Post by Maurice Lorieu »

Depuis quelque temps, le script pour MovieGoods, qui est super pour les posters, donne en fin de traitement un terreur "JPEG error #53"...
Dommage.
Raoul_Volfoni
Posts: 863
Joined: 2006-08-31 23:58:18

Post by Raoul_Volfoni »

Maurice Lorieu wrote:Depuis quelque temps, le script pour MovieGoods, qui est super pour les posters, donne en fin de traitement un terreur "JPEG error #53"...
Une ligne à changer pour que tout rentre dans l'ordre ... :)
Sur la version 0.4 du script MovieGoods il faut remplacer la ligne 98
par ceci :

Code: Select all

    MovieAddress := 'http://www.moviegoods.com/Assets/product_images/1020/'+GetStringFromHTML(Page, '<INPUT TYPE="HIDDEN" NAME="DSP_IMAGE" VALUE="', 'UE="', '">');
@+
Maurice Lorieu
Posts: 15
Joined: 2006-11-05 17:28:35

Post by Maurice Lorieu »

Super. Merci beaucoup Raoul.
Gdugrau
Posts: 5
Joined: 2007-02-26 22:39:00

script allociné à corriger

Post by Gdugrau »

Bonjour
je constate que le script allociné ne prend plus les "acteurs"
une solution ?
merci
antp
Site Admin
Posts: 9629
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Bonjour,
Avec la dernière version du script ? (V61)
Car il y avait eu des modifs à ce niveau justement récemment...
Gdugrau
Posts: 5
Joined: 2007-02-26 22:39:00

Post by Gdugrau »

OK merci !
j'étais resté à la 60 !?
et pas eu le bon reflexe d'aller vérifier. désolé.
et encore merci
zeguigui
Posts: 3
Joined: 2005-07-31 17:04:40

Post by zeguigui »

Bonjour

DVDFr vient de mettre à jour son site web et nous en avons profité pour améliorer l'API utilisée notamment par Ant Movie Catalog.

Si le script actuel continue de très bien fonctionner (c'était tout le but d'avoir une API de consultation !) nous avons ajouter une information essentielle : le "media".

Ainsi dès les résultats de la recherche on sait si on parle d'un DVD, d'un Blu-Ray, d'un UMD ou d'un HD DVD.

A priori le script ne devrait pas être trop compliqué à modifier pour afficher le média dès le résultat de la recherche et ainsi ne pas confondre "The Dark Knight" et "The Dark Knight" !!!

Dès qu'on aura un peu de temps on ajoutera une petite page de documentation sur l'API sur le site...
Post Reply