本文整理自网络,侵删。
function TThreadSpider.GetHtml(url: string): string;
var
html: string;
begin
try
html := Fhttp.Get(url);
except
html := '';
end;
Result := html;
end;
相关阅读 >>
Delphi中操作olevariant、variant和stream
idhttp访问网页出现socket error #10054错误
Delphi10.3通过json.serializers单元对大量数据序列化
更多相关阅读请进入《Delphi》频道 >>