Ver Mensaje Individual
  #4  
Antiguo 26-01-2018
farute farute is offline
Miembro
 
Registrado: feb 2010
Posts: 84
Reputación: 15
farute Va por buen camino
ahora me surge otro problema si yo copio el texto que sale aquí en un fichero de texto lo pilla sin problemas
https://www.wunderground.com/weather...n=day&format=1

pero si yo descargo ese fichero con IdHTTP

con

Código Delphi [-]
uses IdHTTP;

var S: string;
begin
  IdHTTP: TIdHTTP;

  IdHTTP := TIdHTTP.Create(nil);
  try
     S :=  IdHTTP.Get('https://espanol.wunderground.com/weatherstation/WXDailyHistory.asp?ID=IVILLAQU3&day=25&month=1&year=2018&graphspan=day&format=1');
  finally
    IdHTTP.Free;
  end;
end;

el fichero resultante me sale con saltos de linea y <br> y no lo pilla
Responder Con Cita