Author Topic: Script: FilmAffinity [ES] (Easy Script)  (Read 94266 times)

0 Members and 6 Guests are viewing this topic.

Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Script: FilmAffinity [ES] 2014 (Easy Script)
« Reply #20 on: September 11, 2015, 05:19:09 pm »
This plugin needs an update in Director and rating.

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] 2014 (Easy Script)
« Reply #21 on: September 13, 2015, 10:47:01 am »
CHANGE LOG (12/09/2015):
            V 0.2.1.2   VVV: Adjust to new API ('Año'=year,'ratingValue'=orating,'ratingCount'=FilmAffinity_Votes,'Director'=Directors)
                             Only direct Movies: Don't work the list in "Advanced Search" because now it's a Google script.

Attached the new versión.
(Edito: New version down)

Thanks jippo.
« Last Edit: November 22, 2015, 08:01:03 pm by VVV_Easy_Programing »

Offline Am-rA

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Script: FilmAffinity [ES] 2014 (Easy Script)
« Reply #22 on: September 13, 2015, 10:09:58 pm »
additional rating dont work

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] 2014 (Easy Script)
« Reply #23 on: September 16, 2015, 08:40:46 pm »
It works fine on my computer. ???

What Windows and language are you using?

Your decimal separator is point (international) or comma (spanish)?

Thanks for your information.

Offline Am-rA

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Script: FilmAffinity [ES] 2014 (Easy Script)
« Reply #24 on: October 11, 2015, 03:03:03 pm »
windows 8.1, language spanish
worked perfectly, but one day stopped working , rename the category but does not put the stars

Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] 2014 (Easy Script)
« Reply #25 on: November 22, 2015, 08:04:05 pm »
CHANGE LOG (22/11/2015):
            V 0.2.1.3   VVV: Writes 'ratingValue'=orating with point english separator for better standarisation.
                             Eliminate "2014" from name.
Attached the new versión.

(Edito: New version down)
« Last Edit: May 22, 2016, 04:56:26 pm by VVV_Easy_Programing »

Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #26 on: April 09, 2016, 12:10:12 am »
The plugins has problems in actors and description.

Offline Am-rA

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #27 on: April 17, 2016, 11:13:10 pm »
yes, description and actors dont work

Offline Am-rA

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #28 on: April 24, 2016, 10:13:56 pm »
script code:
//Get ~description~
      curPos:=Pos('<dt>Sinopsis</dt>',HTML)+Length('<dt>Sinopsis</dt>');        //WEB_SPECIFIC
      curPos:=PosFrom('<dd>',HTML,curPos)+Length('<dd>');                       //WEB_SPECIFIC
      endPos:=PosFrom('</dd>',HTML,curPos);                                     //WEB_SPECIFIC
      ItemValue:=Copy(HTML,curPos,endPos-curPos);       
      ItemValue:=StringReplace(ItemValue,'(FILMAFFINITY)','',True,True,False);  //WEB_SPECIFIC
      ItemValue:=RemoveTags(ItemValue,False);
      AddFieldValueXML('description',ItemValue);
      LogMessage('      Get result description:'+ItemValue+'||');
Page:
<dt>Sinopsis</dt>
<dd itemprop="description">Año 1823. En las profundidades de la América salvaje, el explorador Hugh Glass (Leonardo DiCaprio) participa junto a su hijo mestizo Hawk en una expedición de tramperos que recolecta pieles. Glass resulta gravemente herido por el ataque de un oso y es abandonado a su suerte por un traicionero miembro de su equipo, John Fitzgerald (Tom Hardy). Con la fuerza de voluntad como su única arma, Glass deberá enfrentarse a un territorio hostil, a un invierno brutal y a la guerra constante entre las tribus de nativos americanos, en una búsqueda implacable para conseguir vengarse. (FILMAFFINITY)</dd>



if someone puts the solution here , I would implement, if necessary any more information I search

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #29 on: April 25, 2016, 06:11:48 am »
This part of the script code,

      curPos:=PosFrom('<dd>',HTML,curPos)+Length('<dd>');                       //WEB_SPECIFIC

replace this part of the script code:

      curPos:=PosFrom('<dd itemprop="description">',HTML,curPos)+Length('<dd itemprop="description">');                       //WEB_SPECIFIC

This is will to done in the script and you will can done test if it really works.
« Last Edit: April 25, 2016, 05:54:05 pm by Ivek23 »
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline Am-rA

  • Member
  • *
  • Posts: 19
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #30 on: April 28, 2016, 07:28:38 pm »
does not work, shows this

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #31 on: April 29, 2016, 06:22:01 am »
does not work, shows this

It absolutely works, even for you there is something wrong with correcting scripts, because it is 100% works for me.

Try the attached script, which I just mentioned above, this part of the updated and correctly transferred to the description such as a web page.
Ivek23
Win 10 64bit (32bit)   PVD v0.9.9.21, PVD v1.0.2.7, PVD v1.0.2.7 + MOD


Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #32 on: May 07, 2016, 08:54:16 pm »
I reinstall the program.

Description works me fine, but actors and genre not.


Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #33 on: May 08, 2016, 07:00:19 am »
Description works me fine, but actors and genre not.

Actors and genre, now it should work properly.

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


Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #34 on: May 08, 2016, 01:28:33 pm »
I have problems in some genres.

In others works fine.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #35 on: May 08, 2016, 05:29:26 pm »
I have problems in some genres.

Now it should work properly.

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


Offline jippo

  • User
  • ***
  • Posts: 31
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #36 on: May 12, 2016, 09:18:58 pm »
Description doesn't work fine if it is empty.

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2713
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #37 on: May 13, 2016, 04:41:30 pm »
Description doesn't work fine if it is empty.

Yes, I am aware of this problem, unfortunately, it is currently I can not fix.
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: Script: FilmAffinity [ES] (Easy Script)
« Reply #38 on: May 16, 2016, 07:01:05 am »
Description doesn't work fine if it is empty.

Yes, I am aware of this problem, unfortunately, it is currently I can not fix.

Yeah, now I managed to fix it. Now it should work properly.

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


Offline VVV_Easy_Programing

  • Older Power User
  • *****
  • Posts: 199
    • View Profile
Re: Script: FilmAffinity [ES] (Easy Script)
« Reply #39 on: May 22, 2016, 04:55:44 pm »
Sorry  :'(, I had not seen so many emails (I added in the script the link of a contact Web for quick alert)
Thank very much, Ivek23 for maintaining the program  ;D.

I tried to fix all (included the search list) and I fixed the "FilmAffinity_New_Releases.psf" script too.

CHANGE LOG (22/05/2016):
            V 0.2.1.4   VVV: Adjust WEB_SPECIFIC to new API.
                             Contact Web: http://contactbyweb.com/vvv-easy
Attached the new version.
(Edito: New version down)

Thanks Am-rA and jippo, too.
« Last Edit: July 06, 2016, 07:28:18 pm by VVV_Easy_Programing »

 

anything