[REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Hello. It does not download country and species information.
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Hi,
You are lucky, I've read your comment just when I had some free time... so I worked on the script
I suppose species=category?
I fixed that, and country.
I also fixed roles & actor pictures mentioned before (sorry for the long delay for that, but I don't often have time for scripts, and this script is difficult for me since Polish is very different from English, French or Dutch )
I tested with only two movies, I hope it works in all cases.
New version = 3.2.16
You are lucky, I've read your comment just when I had some free time... so I worked on the script
I suppose species=category?
I fixed that, and country.
I also fixed roles & actor pictures mentioned before (sorry for the long delay for that, but I don't often have time for scripts, and this script is difficult for me since Polish is very different from English, French or Dutch )
I tested with only two movies, I hope it works in all cases.
New version = 3.2.16
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
The script stopped downloading the cast.
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
It seems that they changed the structure of the page, so it requires more changes than the previous time
I'll try to do that in the next days, but I have other things to do already pending, so I don't know when I'll have time.
If someone else can do it: do not hesitate to fix it
I'll try to do that in the next days, but I have other things to do already pending, so I don't know when I'll have time.
If someone else can do it: do not hesitate to fix it
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Unfortunately, the next fields have died:
- director
- producer
- scenario
- music
and maybe additional fields...
Is there a tutorial somewhere on how to fix scripts?
- director
- producer
- scenario
- music
and maybe additional fields...
Is there a tutorial somewhere on how to fix scripts?
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Not really. Just save the web page, open it in a text editor, check which blocks the script search and compare it with what is in the page: sometimes it is just that the HTML block searched is a little different. Sometimes it is completely different and require a different logic to parse it.
I should try to take a look, but as I said I don't really have so much free time...
I should try to take a look, but as I said I don't really have so much free time...
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Help us, pleaseantp wrote: ↑2023-09-06 12:38:20 Not really. Just save the web page, open it in a text editor, check which blocks the script search and compare it with what is in the page: sometimes it is just that the HTML block searched is a little different. Sometimes it is completely different and require a different logic to parse it.
I should try to take a look, but as I said I don't really have so much free time...
Thx
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Please help us
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
I had some time to check. Good news, it seems that the changes were in the end quite minimal.
I did not test a lot of movies, it seemed to work for the fields mentioned above (actors & crew). I updated the script as version 3.2.17.
If you find movies for which it does not work as expected, you can report them here.
I did not test a lot of movies, it seemed to work for the fields mentioned above (actors & crew). I updated the script as version 3.2.17.
If you find movies for which it does not work as expected, you can report them here.
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Thxantp wrote: ↑2023-09-18 08:26:11 I had some time to check. Good news, it seems that the changes were in the end quite minimal.
I did not test a lot of movies, it seemed to work for the fields mentioned above (actors & crew). I updated the script as version 3.2.17.
If you find movies for which it does not work as expected, you can report them here.
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Thanks a lot, but it doesn't get the movie rating.
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Thxantp wrote: ↑2023-09-18 08:26:11 I had some time to check. Good news, it seems that the changes were in the end quite minimal.
I did not test a lot of movies, it seemed to work for the fields mentioned above (actors & crew). I updated the script as version 3.2.17.
If you find movies for which it does not work as expected, you can report them here.
-
- Posts: 13
- Joined: 2016-01-03 14:34:44
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Rozwiązanie pobierania ocen i ilości głosów:
w sekcji
// Rating filmweb
należy podmienić z
na
w sekcji
// Rating filmweb
należy podmienić z
Code: Select all
Line := TextBetween(Page.Text, 'filmRating filmRating--hasPanel', 'filmRating filmRating--filmWTS hide');
Rates := TextBetween(Line, 'filmRating__rateValue">', '<');
Rates := StringReplace(Rates, ',', '.');
if Length(Rates) > 0 then
SetField(fieldRating, Trim(Rates));
if CanSetCustomField('VotesFilmweb') then
begin
Value := TextBetween(Line, 'ratingCount">', '<');
if Length(Value) > 0 then
SetCustomField('VotesFilmweb', Trim(Value));
end;
Code: Select all
Line := TextBetween(Page.Text, 'filmRating filmRating--hasPanel', 'filmRatingHeader');
Rates := TextBetween(Line, 'filmRating__rateValue">', '<');
Rates := StringReplace(Rates, ',', '.');
if Length(Rates) > 0 then
SetField(fieldRating, Trim(Rates));
if CanSetCustomField('VotesFilmweb') then
begin
Value := TextBetween(Line, 'filmRating__count">', '<');
if Length(Value) > 0 then
SetCustomField('VotesFilmweb', Trim(Value));
end;
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Dzięki działa ładnie.
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Thanks, I updated the file on the server
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Podpowie ktoś w temacie fragmentu skryptu do IMDb...
Chodzi mi o fragment wyszukiwania tytułu na "zewnętrznej" stronie, za każdym razem pojawia się komunikat:
Co zrobić by jednak skrypt wyszukiwał film na IMDb?
Jeśli "ręcznie" uzupełnię link IMDb to skrypt działa poprawnie, pobiera ocenę i dodatkowe dane.
Chodzi mi o fragment wyszukiwania tytułu na "zewnętrznej" stronie, za każdym razem pojawia się komunikat:
Code: Select all
Skrypt nie odnalazł identycznego tytułu lub nie zgadza się rok produkcji ze strony Filmweb na stronie IMDb.
Pobierze informacje z pierwszej pozycji na liście IMDb najbardziej pasującego tytułu. Możesz sprawdzić czy to jest właściwy film i wprowadzić korekty ręcznie.
Jeśli "ręcznie" uzupełnię link IMDb to skrypt działa poprawnie, pobiera ocenę i dodatkowe dane.
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Dawno nie korzystałem z programu i aktualnie nie mogę zaktualizować skryptu. Chciałem to zrobić z "update scripts". Wybieram filmweb.pl i po chwili wraca do okna wyboru już bez filmweb. Może ktoś podpowie jak mogę zaktualizować skrypt
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
You can manually download the file from https://update.antp.be/amc/scripts/ and replace the corresponding one in the Scripts folder of ProgramData\Ant Movie Catalog
Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Thanks for the update, antp! The script seems to be working well, and I appreciate the quick response to reported issues. My work website.