我怎么用delphi获取某网页文件内容
我怎么用delphi获取某网页文件内容
日期:2016-03-11 14:52:21 人气:2
//试下用idhttp
uses IdHTTP;
function GetWebPage(const Url :string; IsUtf8 :Boolean = False):string;
var
idp :TIdHTTP;
begin
Result := '';
idp := TIdHTTP.Create(Application);
try
idp.HandleRedirects := True;
idp.R