How do I use lynx to parse a data in http://www.worldometers.info/pt/ website?

548 Views Asked by At

I need to parse a date from worldometers.info but lynx or curl wait not (like a delay) the loading of site.

I tried in the Linux Terminal:
lynx -connect_timeout=5 http://www.worldometers.info/pt/
and:
lynx -read_timeout=5 http://www.worldometers.info/pt/
and:
curl -s -connect-timeout 5 http://www.worldometers.info/pt/
and:
curl -s -expect100-timeout 5 http://www.worldometers.info/pt/

Lynx doesn't give the actual data but only responds retrieving data.

Thanks

1

There are 1 best solutions below

0
wuseman On

You can try:

lynx -connect_timeout=5 http://www.worldometers.info/pt/ -dump
lynx -connect_timeout=5 http://www.worldometers.info/pt/ -source