Author Topic: SOPA block script iafd_people  (Read 9189 times)

0 Members and 1 Guest are viewing this topic.

Offline pra15

  • Older Power User
  • *****
  • Posts: 173
    • View Profile
SOPA block script iafd_people
« on: January 21, 2012, 11:10:11 am »
Hello,
SOPA block downloading infos with script iafd_people !
You must deactivate all part in the script related to search photo and change in parse page : result := prfinished and not prdownload
The info are good but no photo!
« Last Edit: January 21, 2012, 11:35:47 am by pra15 »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2736
    • View Profile
Re: SOPA block script iafd_people
« Reply #1 on: January 22, 2012, 12:58:46 pm »
Hello,
SOPA block downloading infos with script iafd_people !
You must deactivate all part in the script related to search photo and change in parse page : result := prfinished and not prdownload
The info are good but no photo!

This does not need to change:
Quote
parse page : result := prfinished and not prdownload
This change is only here:
Instead, this piece of code

Code: [Select]
PhotoURL := BASE_URL + Copy(HTML,curPos + 6, EndPos - curPos - 7);replaced with this piece of code
Code: [Select]
PhotoURL := BASE_URL + Copy(HTML,curPos + 6, EndPos - curPos - 28);The amendment shall also do so in
Quote
Preferences > Plugins > IAFD,COM > Overwrite fields to control how these items are to be updated.
where Photo field is not confirmed, as shown in the attached pictures and script is working properly.

They also corrected script attached.

[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 pra15

  • Older Power User
  • *****
  • Posts: 173
    • View Profile
Re: SOPA block script iafd_people
« Reply #2 on: January 23, 2012, 09:17:34 am »
To have photo modify this to the original iafd_people script:

Code: [Select]
//Foto
curPos :=Pos('src="/graphics/headshots',HTML);
« Last Edit: January 23, 2012, 09:24:45 am by pra15 »

Offline Ivek23

  • Global Moderator
  • *****
  • Posts: 2736
    • View Profile
Re: SOPA block script iafd_people
« Reply #3 on: January 23, 2012, 02:46:05 pm »
To have photo modify this to the original iafd_people script:

Code: [Select]
//Foto
curPos :=Pos('src="/graphics/headshots',HTML);


The corrected version:
iafd_people

from v. 0..1.1 the v. 0.0.1.2

iafd_people(pra15)
from v. 0.1.1.2  the  v. 0.1.1.3

The corrected version attached.

[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