- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
procedure tproxythread.execute;
var
doc: IHtmlDocument2;
temp,parsed:string;
v:olevariant;
i:integer;
begin
coinitialize(nil);
try
for i:=0 to links.count -1 do
begin
temp:=http.LoadContent(links[i]);
Doc:=coHTMLDocument.Create as IHTMLDocument2;
V:=VarArrayCreate([0,0], varVariant);
V[0]:=temp;
Doc.Write(PSafeArray(TVarData(v).VArray));
reg.InputString:=doc.body.outerText;
if reg.Exec then
repeat
parsed:= reg.Match [0];
proxy.add(parsed);
until not reg.ExecNext;
end;
finally
couninitialize;
end;
end;
Stertor 04.04.2014 13:05 # −2
guest 04.04.2014 13:35 # −1
Stertor 04.04.2014 13:36 # −1
guest 04.04.2014 13:38 # 0
Stertor 04.04.2014 13:38 # 0
LXxhELT 25.08.2021 06:10 # 0