Search found 2 matches

by Albher
2020-12-08 02:16:03
Forum: Ant Movie Catalog > Scripts
Topic: FilmAffinity
Replies: 29
Views: 3383

Re: FilmAffinity


// Productor
LineNr := FindLine(UTF8Encode('<dt>Productora</dt>'), Page, LineNr);
if LineNr <> -1 then
begin
Line := Page.GetString(LineNr + 1);
Item := DeleteTags(TextBetween(Line, '<span>', '</div>'));
Item := LineDecode(Item);
SetField(fieldProducer, Item);
end;


A mi me ha funcionado ...
by Albher
2013-07-31 22:22:51
Forum: Ant Movie Catalog > Scripts
Topic: FilmAffinity (ES): New version of the script
Replies: 100
Views: 59647

Teneis que editar el script y sustituir la linea 179 que es la siguiente:

LineNr := FindLine('<div id="movie-rat-avg">', Page, LineNr);

por

LineNr := FindLine('<div id="movie-rat-avg" itemprop="ratingValue">', Page, LineNr);