Author Topic: sedicifilm script does not transfer data info  (Read 6330 times)

0 Members and 1 Guest are viewing this topic.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
sedicifilm script does not transfer data info
« on: June 22, 2011, 10:05:29 am »
sedicifilm script does not transfer information data, but finding a movies title (search titles it works).

[attachment deleted by admin]
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: sedicifilm script does not transfer data info
« Reply #1 on: June 28, 2011, 05:21:48 am »
Because the word 'LOCANDINA:' in your code

Code: [Select]

//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;


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

Code: [Select]

//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;


However sedicifilm script works again.



Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: sedicifilm script does not transfer data info
« Reply #2 on: January 14, 2013, 11:02:36 am »
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]
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD