Personal Video Database

English => Support => Topic started by: patrick65 on February 17, 2016, 10:27:20 am

Title: Comments IMDB Problem
Post by: patrick65 on February 17, 2016, 10:27:20 am
Hello,
how can I not download any comments? The attribute comments do not find it to be disabled.
Title: Re: Comments IMDB Problem
Post by: Ivek23 on February 17, 2016, 12:22:57 pm
Hello,
how can I not download any comments? The attribute comments do not find it to be disabled.

Can you be more clear what you actually mean by that question, because I do not have any clear information which would like to have the transfer. That for which you ask, can not be found on IMDB pages.
Title: Re: Comments IMDB Problem
Post by: patrick65 on February 23, 2016, 10:49:14 am
Basically I want to disable the download of the comments
Title: Re: Comments IMDB Problem
Post by: Ivek23 on February 23, 2016, 01:06:03 pm
Basically I want to disable the download of the comments

Which box do you use it?
Title: Re: Comments IMDB Problem
Post by: patrick65 on February 24, 2016, 03:36:22 pm
I use the description box for the plot, but not by imdb but MyMovies in Italian. So do not interest me's comments imdb
Title: Re: Comments IMDB Problem
Post by: Ivek23 on February 24, 2016, 04:44:11 pm
I use the description box for the plot, but not by imdb but MyMovies in Italian. So do not interest me's comments imdb

Simple, description box should not be marked in the settings and will not transfer information to comment.
Title: Re: Comments IMDB Problem
Post by: patrick65 on February 25, 2016, 10:28:27 am
Already made, but the script IMDB Movie Info continues to download the comment
Title: Re: Comments IMDB Problem
Post by: Ivek23 on February 25, 2016, 04:18:56 pm
Already made, but the script IMDB Movie Info continues to download the comment

Open the script with Notepad program, find Plot_summary code and do as in the example below, and will not transfer information to comment.

Code: [Select]
//~Plot_summary~
If Pos('<div class="plot_summary minPlotHeightWithPoster">', HTML) > 0 then begin
EndPos := Pos('<div class="plot_summary minPlotHeightWithPoster">', HTML);
curPos := PosFrom('<div class="summary_text" itemprop="description">', HTML, EndPos);
EndPos := PosFrom('</div>', HTML, curPos);
TmpStr0 := RemoveTags(Trim(Copy(HTML, curPos, endPos - curPos)), false);
debug_pos1:=Pos('See ',TmpStr0);
if debug_pos1 >0 then TmpStr0 := Copy(TmpStr0,0,debug_pos1-1);
//   if TmpStr0 <> '' then AddFieldValueXML('comment', TmpStr0);
end;
Title: Re: Comments IMDB Problem
Post by: patrick65 on February 26, 2016, 08:08:51 am
OK WORKS!

Thanks :)