Search found 169 matches

by athe
2021-09-08 13:52:33
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Zaproponuję inne rozwiązanie. Sądzę, że te będzie szybsze, na czym zależało koledze Dekert. Część skryptu dotycząca oceny i ilości głosów z IMdB powinna wyglądać tak: // Ocena z IMDb i ilość głosów
Value := '';
Line := TextBetween(Pagetmp, '"aggregateRating":{', '"datePublished"');
if ...
by athe
2021-09-08 08:41:12
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Da się. Trzeba w części // Ocena z IMDb i ilość głosów
Value := '';
Line := TextBetween(Pagetmp, '<strong title="', '</a>');
Value := TextBetween(Line, 'ratingValue">', '</span>');
Value := StringReplace(Value, '.', ',');
if Value <> '' then
begin zmienić na linie: // Ocena z IMDb i ilość ...
by athe
2021-07-17 19:24:22
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

admas w linijce //Zdjęcia
if ((Pos('/photos"><h2>Galeria', Page.Text) > 0) and (GetOption('Zdjecia') = 1) and (StrToInt(GetParam('IleZdjec'), 0) > 0)) then
begin zmień na //Zdjęcia
if ((Pos('/photos"><h2>', Page.Text) > 0) and (GetOption('Zdjecia') = 1) and (StrToInt(GetParam('IleZdjec'), 0) > 0 ...
by athe
2020-12-19 08:09:36
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

admas, a może spróbuj tymczasowo przenieść skrypt na pulpit i ponownie go wgrać do folderu skrypty. Pamiętam, że ktoś już pisał o takim rozwiązaniu, gdy skrypt mu "nie chodził". U mnie skrypt pobiera zdjęcia do filmu.
by athe
2020-12-16 20:20:11
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

admas, skrypt pobiera fotosy z Twojego linku. Może coś się zmieniło w ustawieniach skryptu?
by athe
2020-12-12 14:27:31
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Witam, jak komuś nadal nie pobiera ról aktorów, to w funkcji function Obsada(Page: TStringList; Typ: string; Adres: string; Nazwa: string): string; trzeba zmienić linię Rola := TextBetween(VTemp, 'data-role-source>', '</div>'); na Rola := TextAfter(TextBetween(VTemp, 'span data-n-id="', '</span ...
by athe
2020-09-04 21:14:19
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Żeby pobierało zdjęcia z filmu trzeba w funkcji function Zdjecia(Page: TStringList): string; linię Line := TextBetween(Page.Text, '<section class="page__section gallerySection GallerySection', '</section>'); zmienić na Line := TextBetween(Page.Text, 'class="gallerySection GallerySection', '</section ...
by athe
2020-08-23 08:45:50
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Na końcu funkcji obsada przed procedure PodstawoweDane(Address: string; Page: TStringList); jest linia, którą też trzeba zmienić. Chodzi o tą część StartPos := Pos('filmFullCastSection__item castRoleListElement', Line) + Length('filmFullCastSection__item castRoleListElement');
Line := Copy(Line ...
by athe
2020-08-22 10:35:30
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Kurde z nimi na tym filmweb.
Trzeba w funkcji obsada function Obsada(Page: TStringList; Typ: string; Adres: string; Nazwa: string): string; w części Result := '';
Line := TextBetween(Page.Text, '">' + Typ + '</h3>', '<h3 class="filmFullCastSection__header');
if Length(Line) = 0 then
Line ...
by athe
2020-08-15 07:11:28
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Witam, jak kogoś interesuje pressbook i ma najnowszą wersję skryptu czyli Filmweb (PL) 3.1.2b, to poniżej w całości poprawiony kod do pobierania danych //Pressbook
function Pressbook(Page: TStringList): string;
var
Line, Line1, Line2, Value: string;
StartPos : Integer;
begin
Value := '';
Line ...
by athe
2020-08-13 07:54:24
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script


Nie wyszukuje filmów :??:

Żeby to naprawić trzeba w procedure GetMovieTitles(Address: string); zmienić dwie linijki MovieAddress := 'https://www.filmweb.pl' + TextBetween(Line, 'filmPreview__link" href="', '"><h'); na MovieAddress := 'https://www.filmweb.pl' + TextBetween(Line, 'filmPreview ...
by athe
2020-07-24 06:18:04
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Możesz sam je utworzyć w programie AMC. Wchodzisz w Narzędzia->Zarządzanie polami. Domyślnie dla wartości 'Pole' wybrana jest opcja "Nowe pole', zostawiasz jak jest. Wpisujesz do pola Tag 'Trailer', do pola Nazwa wpisujesz 'Trailer', jako Typ wybierasz 'URL' Zatwierdzasz OK i masz już swoje pole. Po ...
by athe
2020-07-16 08:31:25
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Dziękuję, reszta na Twój priv, pozdrawiam
by athe
2020-07-14 11:37:39
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Cześć, zauważyłem, że nie pobiera linku do trailera z YouTube. Żeby pobierał trzeba zmienić linijkę z procedury Pobierz Trailer z YouTube VideoId := findInfo('<a href="/watch?v=', '"', Line, '4'); na: VideoId := findInfo('{"url":"/watch?v=', '"', Line,'4'); jak ktoś tego potrzebuje oczywiście ...
by athe
2020-06-28 19:12:37
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Witam, jak ktoś chce, to niżej jest kod do pobierania dat premier: polskiej i światowej. We wcześniejszym poście była tylko data premiery światowej. //daty premier
if (CanSetCustomField('Polskapremiera')) then
begin
Value := TextBetween(Page.Text, 'class="block">', '(Polska)');
if Length(Value ...
by athe
2020-06-18 20:49:18
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Jak wiecie nie jestem programistą, dlatego poprosiłem Dekerta aby umieścił całą procedurę pobierania info z IMDB mojego autorstwa w skrypcie filmweb. Zrobiłem tak, ponieważ aktualny skrypt jest bardzo ładnie poukładany i nie chcę już w nim "mieszać". Poza tym mój skrypt jest dopasowany do moich ...
by athe
2020-06-17 20:42:15
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Ta część odpowiada za datę premiery, trzeba ją w całości zastąpić //daty premier
if (CanSetCustomField('Swiatowapremiera')) then
begin
Value := TextBetween(Page.Text, 'class="block">', '(');
Value := Trim(Value);
Value := StringReplace(Value, ' ', '-');
if Pos('-', Value) = 2 then Value := '0 ...
by athe
2020-02-03 19:30:44
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Nie działa, ponieważ w folderze gdzie znajdują się skrypty do programu nie masz któregoś z plików .pas, wymienionych w tej linii. Możesz je pobrać ze strony AMC. Tu masz link http://update.antp.be/amc/scripts/
by athe
2020-01-31 19:58:39
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Zastanawiam się czynie utworzyć nowego pliku z funkcją filmWebCodePage w której można by było poustawiać wszystkie obce znaki z którymi są duże problemy. Co o tym sądzicie? Athe pomógł byś w tej opcji?
Pewnie, że tak, jestem gotów Ci pomóc. Przygotuję taką listę i prześlę ją na Twojego priva ...
by athe
2020-01-24 22:38:57
Forum: Ant Movie Catalog > Scripts
Topic: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script
Replies: 682
Views: 135365

Re: [REL] [PL] FilmWeb.pl 3.0 - The Best Polish Script

Żeby pozbyć się pustej linii w obsadzie przy opcji 3, należy w funkcji Obsada wyłączyć linię lub ją usunąć (zależy od Ariella) VTemp := VTemp + Sufix; ponieważ wczesniejsza VTemp := VTemp + Prefix + Rola + Sufix; zrobiła to samo. begin
Aktor := TextBetween(VTemp, 'data-person-source>', '<');
Rola ...