English > Development

SOPA block script iafd_people

(1/1)

pra15:
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!

Ivek23:

--- Quote from: pra15 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!

--- End quote ---

This does not need to change:

--- Quote ---parse page : result := prfinished and not prdownload
--- End quote ---
This change is only here:
Instead, this piece of code

--- Code: ---PhotoURL := BASE_URL + Copy(HTML,curPos + 6, EndPos - curPos - 7);
--- End code ---
replaced with this piece of code

--- Code: ---PhotoURL := BASE_URL + Copy(HTML,curPos + 6, EndPos - curPos - 28);
--- End code ---
The amendment shall also do so in

--- Quote ---Preferences > Plugins > IAFD,COM > Overwrite fields to control how these items are to be updated.
--- End quote ---
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]

pra15:
To have photo modify this to the original iafd_people script:


--- Code: ---//Foto
curPos :=Pos('src="/graphics/headshots',HTML);
--- End code ---

Ivek23:

--- Quote from: pra15 on January 23, 2012, 09:17:34 am ---To have photo modify this to the original iafd_people script:


--- Code: ---//Foto
curPos :=Pos('src="/graphics/headshots',HTML);
--- End code ---


--- End quote ---

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]

Navigation

[0] Message Index

Go to full version