Read web pages in loop converting to text

0

I need to read several web pages successively in a loop, converting each page to text.

The goal is to read stock quotes from Yahoo Finance for example. I have tried several resources, the last being WebBrowser , the problem is that from a number of pages read happens:

  • the program stops responding or
  • In some situations the page is incomplete.

I've also tried using the functions

  • function WebGetData (const UserAgent, URL: string): string;
  • function GetUrlContent (const Url: string): string;
  • function WinInet_HttpGet (const Url: string): string; overload;

Being some of StackOverflow itself (English or Portuguese) but also unsuccessful.

    
asked by anonymous 26.02.2018 / 20:55

0 answers