1,593
社区成员
发帖
与我相关
我的任务
分享
repeat
bError := True;
try
tmpWebCode := UTF8Decode(sIdHTTP.Get(DetailURL));
except
bError := False;
sIdHTTP.Free;
sIdHTTP := TIdHTTP.Create(nil);
sIdHTTP.HandleRedirects := True;
sIdHTTP.ReadTimeout := 10000;
frmMain.StatusBar1.Panels[4].Text :='详细信息错误 ' + strListCompanyName.Strings[i] + ' ' + IntToStr(k) + ' 次';
if k =4 then
begin
bError := True;
bakStrList.Add(strListCompanyName.Strings[i] + '---详细');
bakStrList.SaveToFile(ExtractFilePath(ParamStr(0))+fName);
end;
inc(k);
end;
until (bError);