Page 11 of 39

Posted: 2008-09-23 05:44:31
by szyjka
Jest już ok.
Wcześniej sprawdzałem w piątek po południu i w sobotę - wtedy nie działało wyszukiwanie.

Pozdrawiam
szyjka

Posted: 2008-10-08 20:25:31
by Corey
Can someone (maybe AmBeR ;)) fix the script for filmweb.pl? After the recent changes some things stopped to work:

1. "Category" field isn't readed from www anymore.
2. "Description" field reads some spaces and enter with every description at the begining and end.

If I find some more things, that don't work I will post them.

Posted: 2008-10-08 21:21:01
by ya_corp
Fixed script

* 2.0.0.53 Beta (08.10.2008)
* - fixed genre detection
* - fixed FilmDescriptions some garbage

http://rapidshare.de/files/40640851/Fil ... _.ifs.html

Posted: 2008-10-08 21:30:39
by Corey
That was quick :)

I've found a couple more bugs:

1. When there is " ' " (no spaces and "") in the description - for ex. Joe's on the www, script converts it to " " " (Joe"s)
2. In the category field despite of choosing "Category_1 / Category_2" format in the script options, there's always "Category_1, Category_2" after reading www

Posted: 2008-10-08 22:05:14
by ya_corp

Posted: 2008-10-09 05:17:31
by Corey
Thx for the fast update :)

Another portion of bugs:
1. When adding movie "Asterix na olimpiadzie" the director is Frédéric Forestier - script is reading him as "Frédéric Forestier"
2. Similar thing with actors in the same movie - "Benoît Poelvoorde" is "Benoît Poelvoorde"

Posted: 2008-10-09 17:04:11
by ya_corp
Filmweb ma strasznie skopane kodowanie znaków, ciężko wyłapać wszystkie kombinacje znaków jakie możemy spotkać.

Poprawiłem co mogłem.
http://rapidshare.de/files/40645699/Fil ... _.ifs.html

Generalnie, do importu obsady, reżysera, producenta, oceny i roku produkcji używam IMDB, na Filmwebie te dane często są błędne, albo niekompletne.

Posted: 2008-10-09 17:10:20
by Corey
Again thx for update :) I know that filmweb isn't perfect. Good idea about using 2 scripts, but it also takes a little more time. I currently have a few dozens movies to catalog, so I would rather stick to one script. But in the future it will be a better idea to use two scripts, like you have suggested. As for now hunting for more bugs :D

Posted: 2008-10-09 17:32:24
by ya_corp
Season on bugs are still open, I shot next ;-)

http://rapidshare.de/files/40645841/Fil ... _.ifs.html

Posted: 2008-10-11 15:34:58
by napster666
wszystko jest w sumie OK, ale w opisie pobierają się takie kwiatki "Nowa słodko-gorzka komedia Mike’a Leigh, twórcy nagrodzonych Złotą Palmą „Sekretów i kłamstw”."

Posted: 2008-10-12 21:37:46
by szyjka
Dopiszcie sobie do skryptu poniższe wpisy:

Value := StringReplace(Value, '„', '"');
Value := StringReplace(Value, '”', '"');
Value := StringReplace(Value, 'è', 'e');
Value := StringReplace(Value, 'ç', 'ç');
Value := StringReplace(Value, 'î', 'î');
Value := StringReplace(Value, '–', '-');
Value := StringReplace(Value, 'ö', 'ö');
Value := StringReplace(Value, '…', '...');
Value := StringReplace(Value, 'ñ', 'n');
Value := StringReplace(Value, 'í', 'í');
Value := StringReplace(Value, 'á', 'á');
Value := StringReplace(Value, 'ö', 'é');
Value := StringReplace(Value, 'ò', 'o');
Value := StringReplace(Value, 'ô', 'ô');

Na pewno to nie są wszystkie braki a więc zapraszam do uzupełniania :)

--
Pozdrawiam
szyjka

Posted: 2008-10-14 20:54:22
by Maciu
i've got problem. filmweb script(this newone) don't fill me "original title" field. what should i do? any suggestions?
ps. hi everyone - i've just registered on this forum

Posted: 2008-10-18 11:22:15
by ya_corp
Naprawiłem problem z pobieraniem tytułu filmu.
Dodałem znaki do konwersji zgodnie z zaleceniem "szyjki".

http://rapidshare.de/files/40704799/Fil ... _.ifs.html

Posted: 2008-10-18 18:53:49
by antp
you did not change the version number nor the date, is it on purpose or did you forget?

Posted: 2008-10-19 13:18:05
by ya_corp
I forget, sorry about that.

Posted: 2008-10-19 19:28:56
by antp
ok, I renamed it 2.0.0.54, so next one will have to be 2.0.0.55 or higher ;)

Posted: 2008-10-21 07:19:07
by tytus1976
Dziekuje bardzo za poprawienie skryptu do Filmweb.pl. Ale mam jeszcze prosbę. Czy ktos moglby go przerobic tak, zeby gatunek filmu byl z malej litery. Bo pobiera z duzej litery i musze za kazdym razem poprawiac. Spis mam od poczatku robiony gatunek filmu z malej, i dlatego to dla mnie lekka niedogodnosc. Z gory DZIEKUJE!

Posted: 2008-10-21 07:55:37
by szyjka
Do tytus1976:

A nie opłaca Ci się napisać prostego skryptu, który w rekordach znajdzie dany tekst i zamieni na jaki chcesz. Oczywiście wiąże się to z wpisaniem wszystkich gatunków (ale to nie jest problem). Metoda trochę łopatologiczna ale u mnie zadziałała w sytuacjach, w których musiałem zmienić kilkaset rekordów.

Wrócę z pracy to umieszczę skrypt jaki stosuję.

Pozdrawiam
szyjka

Posted: 2008-10-21 08:52:02
by tytus1976
Pewnie byłoby prosciej, ale ja nie umiem takiego skryptu wykonac, dlatego prosze o to innych :)

Posted: 2008-10-24 19:12:37
by ya_corp
tytus1976 posłałem na priva ;-) 5 zł + VAT się należy ;-)