本文整理自网络,侵删。
function TThreadSpider.GetHtml(url: string): string;
var
html: string;
begin
try
html := Fhttp.Get(url);
except
html := '';
end;
Result := html;
end;
相关阅读 >>
decodedate:从一个tdatetime变量中提取年、月、日数值
Delphi idhttp 设置cookie 和访问后读取cookie 值
更多相关阅读请进入《Delphi》频道 >>