English > Support
PVD v0.9.9.21, IMDB [EN] plugin v0.9.8.5 not downloading or updating IMDB Rating
Ivek23:
--- Quote from: abubin on January 26, 2013, 07:29:26 pm ---imdb script is not working again. When I tried to fetch a movie, nothing is fetched beside the imdb link.
sorry...false alarm..it works after i restarted my pc
--- End quote ---
All right, you alerted me to the error.
Probably use the stable version 0.9.9.21 the which unfortunately I have not tested earlier versions of the script. I tested the beta version 1.0.23 is where these problems do not appear. The problem is the url address in the search results.
Now it is corrected and hopefully it will not be more problems.
I fixed search results with the url.
Imdb Movie script
v 0.1.0.4
Imdb Movie(1) script
v 0.1.0.3
Scripts is attached here.
abubin:
i am sorry..i am using 1.0.2.3 and I think I screw up my imdb plugins. Please read about this in another thread I posted. Cause my problem doesn't fit this thread...
http://www.videodb.info/forum_en/index.php/topic,3281.0.html
Ivek23:
--- Quote from: Ivek23 on January 27, 2013, 10:07:48 am ---
--- Quote from: abubin on January 26, 2013, 07:29:26 pm ---imdb script is not working again. When I tried to fetch a movie, nothing is fetched beside the imdb link.
sorry...false alarm..it works after i restarted my pc
--- End quote ---
All right, you alerted me to the error.
Probably use the stable version 0.9.9.21 the which unfortunately I have not tested earlier versions of the script. I tested the beta version 1.0.23 is where these problems do not appear. The problem is the url address in the search results.
Now it is corrected and hopefully it will not be more problems.
I fixed search results with the url.
Imdb Movie script
v 0.1.0.4
Imdb Movie(1) script
v 0.1.0.3
Scripts is attached here.
--- End quote ---
The Appendix to the post:
« Reply #40 on: 27 January 2013, 10:07:48 »
This is corrected code for Search results:
--- Code: ---procedure ParseSearchResults(HTML : String);
var
curPos, endPos : Integer;
Title, Title1, Year, URL, Preview, Preview1 : String;
begin
curPos := Pos('<table class="findList">', HTML);
if curPos < 1 then
Exit;
LogMessage('Parsing search results...');
curPos := PosFrom('<img src="', HTML, curPos)+10;
endPos := PosFrom('.jpg" height="44" width="32" /></a>', HTML, curPos);
Preview := Trim(Copy(HTML, curPos, endPos - curPos));
curPos := PosFrom('<a href="/title/', HTML, curPos);
while curPos > 0 do begin
endPos := PosFrom('?ref_=fn_tt_tt_', HTML, curPos);
URL := Trim(Copy(HTML, curPos+9, endPos - curPos-9));
URL := BASE_URL + URL;
curPos := PosFrom('>', HTML, curPos)+1;
endPos := PosFrom('</td> </tr>', HTML, curPos);
Title := RemoveTags(Trim(Copy(HTML, curPos, endPos - curPos)), false);
Title := StringReplace(Title, '-', #13, true, false, true);
curPos := PosFrom('<img src="', HTML, curPos)+10;
endPos := PosFrom('.jpg" height="44" width="32" /></a>', HTML, curPos);
Preview := Trim(Copy(HTML, curPos, endPos - curPos));
AddSearchResult(Title, '', '', URL, '');
curPos := PosFrom('<a href="/title/', HTML, curPos);
end;
end;
function NextMode(curMode : Integer) : Integer;
--- End code ---
davfarm:
I have PVD v0.9.9.21 with the latest IMDB plug-in. Yesterday 130129 the movie info stopped working. The program reaches IMDB and reads some data but doesn't update the movie info. I downloaded all updates, checked that I had the latest IMDB plug-in, and even did a clean install of the program trying to get it to work. I rebooted the machine to no avail. I even tried my laptop which hasn't had a java update or the latest IMDB plug-in. The program was working perfectly on Monday and failed on Tuesday and is still unable to get the IMDB info. I feel that IMDB has changed something which is not allowing access. I am using Windows 7 and I checked to make sure PVD is allowed through the firewall. I am at a loss. Please help.
bmsmcr:
--- Quote from: davfarm on January 30, 2013, 08:24:13 am ---I have PVD v0.9.9.21 with the latest IMDB plug-in. Yesterday 130129 the movie info stopped working. The program reaches IMDB and reads some data but doesn't update the movie info. I downloaded all updates, checked that I had the latest IMDB plug-in, and even did a clean install of the program trying to get it to work. I rebooted the machine to no avail. I even tried my laptop which hasn't had a java update or the latest IMDB plug-in. The program was working perfectly on Monday and failed on Tuesday and is still unable to get the IMDB info. I feel that IMDB has changed something which is not allowing access. I am using Windows 7 and I checked to make sure PVD is allowed through the firewall. I am at a loss. Please help.
--- End quote ---
I am having the same problem as stated above and have taken the same steps in hopes to fix it. Any assistance would be greatly appreciated!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version