Culturalia spanish script modified to correct some problems

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.
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

Ok, so I take your version ?
I'll not take the other one (that downloads the "end user" movie page) since the webmaster asked to only use its "special" page ;)
RedDwarf

Post by RedDwarf »

PT, added a patch in the another thread. Bold and " problem should be resolved with the next version of AMC without modifications in the script. But the double linebreak problem could be added too.
antp
Site Admin
Posts: 9630
Joined: 2002-05-30 10:13:07
Location: Brussels
Contact:

Post by antp »

I already added that in the current version I think :??:
RedDwarf

Post by RedDwarf »

Yes, is in the new update.

But looking about this I found this:

Code: Select all

begin
    strSinopsis := strSinopsis + #13#10 + Line;
    LineNr := LineNr + 1;
    Line := Page.GetString(LineNr);
end
Seems that the problem was a combination of the double <br> and this "#13#10 +". It is really needed? Trying removing it seems like "SetField(fieldDescription, strSinopsis)" removes any "#13#10" on the string, there isn't any difference at all...

If isn't needed, removing it would protect from a triple <br>
RedDwarf

Post by RedDwarf »

Yes, is needed.....forgot this. Everything is OK.
Guest

Post by Guest »

Hello, ¿can i get the information from Culturalia for multiple movies? I start now with this amazing program and I have 700 films to fill with info and image, with the imdb (US) batch script I can check all movies at once but the info is in english and i prefer it in spanish....


(TRAD.) Hola, ¿puedo actualizar la información de varias películas a la vez tomando los datos de Culturalia? Acabo de conocer este estupendo programa y tengo que introducir en la base de datos 700 películas... en inglés puedo hacerlo con el script de imdb (US) batch pero preferiría tener la información en español...

Thanks...
Gracias de antemano...
KaBeCi
Posts: 23
Joined: 2003-08-29 15:28:19

Post by KaBeCi »

hey, we need exactly the same, to automate culturalia script, i've started a thread some days ago... viewtopic.php?t=881 to mix culturalia with iMDB batch, to get the description in spanish, but will be almost the same to automate culturalia script since the only difference is that you should have to run 2 scripts rather than one.
i dont know anything about scripting, so if anyone want to do it PLEASE do it ;) will be very helpfull.
ANTP told me in that thread that I should "instead of using the picktree thing, just call the analyzemovie function with the first address found", but i really tryed and failed because I dont know how to do it.
the other thing that should be added to the automated script is to change movies like "Godfather, The" to "The Godfather" because if you search for "Godfather, The" you wont find anything on culturalia. There is a code already written to do that on this topic: viewtopic.php?t=726

thanks for anyone who wanna contribute.
Locked