Q: Extract only text lines visible in webbrowser?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I need to web query for further processing, f.ex

http://moneycentral.msn.com/investor/external/excel/quotes.asp?SYMBOL=F ,MSFT,DE

I use

$MSN="http://moneycentral.msn.com/investor/external/excel/quotes.asp?SYMBOL =";
$lines = file ($QStr);

However, the relevant information is only 3 lines on the webpage, but
more than 1000 lines in $lines, so it is slow and tedious to work
with. Is there any way to extract only the lines visible in the


Re: Q: Extract only text lines visible in webbrowser?

On Sat, 18 Dec 2004 09:24:43 -0500, Flemse hath writ:
Quoted text here. Click to load it

You need something like:

$ lynx --dump --nolist --width=255 \
  http://moneycentral.msn.com/investor/external/excel/quotes.asp?SYMBOL=F ,MSFT,DE

But, there's way more than your "...only 3 lines on the webpage".

Poke around with:

  | Marvin L Jones       | jonz         |  W3DHJ   |  linux
  |  Gunnison, Colorado  |  @           |  Jonesy  |    OS/2   __
  |   7,703' -- 2,345m   |   config.com |  DM68mn              SK

Site Timeline