Author Topic: Comments IMDB Problem  (Read 1809 times)

0 Members and 1 Guest are viewing this topic.

Offline patrick65

  • Member
  • *
  • Posts: 20
    • View Profile
Comments IMDB Problem
« 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.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • View Profile
Re: Comments IMDB Problem
« Reply #1 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.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline patrick65

  • Member
  • *
  • Posts: 20
    • View Profile
Re: Comments IMDB Problem
« Reply #2 on: February 23, 2016, 10:49:14 am »
Basically I want to disable the download of the comments

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • View Profile
Re: Comments IMDB Problem
« Reply #3 on: February 23, 2016, 01:06:03 pm »
Basically I want to disable the download of the comments

Which box do you use it?
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline patrick65

  • Member
  • *
  • Posts: 20
    • View Profile
Re: Comments IMDB Problem
« Reply #4 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

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • View Profile
Re: Comments IMDB Problem
« Reply #5 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.
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline patrick65

  • Member
  • *
  • Posts: 20
    • View Profile
Re: Comments IMDB Problem
« Reply #6 on: February 25, 2016, 10:28:27 am »
Already made, but the script IMDB Movie Info continues to download the comment

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 1899
    • View Profile
Re: Comments IMDB Problem
« Reply #7 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;
Ivek23
Win 7 32bit, 64bit   PVD v0.9.9.21


Offline patrick65

  • Member
  • *
  • Posts: 20
    • View Profile
Re: Comments IMDB Problem
« Reply #8 on: February 26, 2016, 08:08:51 am »
OK WORKS!

Thanks :)

 

anything