English > Support

sedicifilm script does not transfer data info

(1/1)

Ivek23:
sedicifilm script does not transfer information data, but finding a movies title (search titles it works).

[attachment deleted by admin]

Ivek23:
Because the word 'LOCANDINA:' in your code


--- Code: ---
//Poster
 curPos := Pos('LOCANDINA:',HTML);
 curPos := PosFrom('src="', HTML, curPos)+5;
 EndPos := PosFrom('"', HTML, curPos);
 LogMessage('poster0: curpos='+ IntToStr(curPos)+' endpos='+IntToStr(EndPos));
 if curPos > 0 then begin
    ExtraLinks[smPoster] := Trim(Copy(HTML, curPos, EndPos - curPos));
    LogMessage('Poster:' + ExtraLinks[smPoster] );
 end;


--- End code ---

sedicifilm script did not work, but when I replaced with this word '<div id="gallery_">' in your code


--- Code: ---
//Poster
 curPos := Pos('<div id="gallery_">', HTML);
 curPos := PosFrom('src="', HTML, curPos)+5;
 EndPos := PosFrom('"', HTML, curPos);
 LogMessage('poster0: curpos='+ IntToStr(curPos)+' endpos='+IntToStr(EndPos));
 if curPos > 0 then begin
    ExtraLinks[smPoster] := Trim(Copy(HTML, curPos, EndPos - curPos));
    LogMessage('Poster:' + ExtraLinks[smPoster] );
 end;


--- End code ---

However sedicifilm script works again.



Ivek23:
He made a small cosmetic correction (better appearance for the download section).

Script is attached, is also available  via the program's auto-update system.

[attachment deleted by admin]

Navigation

[0] Message Index

Go to full version