cURL / Mailing Lists / curl-users / Single Mail

curl-users

How to access a link within a web page

From: simon wu <linux_usb_at_hotmail.com>
Date: Thu, 01 Apr 2004 14:15:58 -0500

Hello,

With the curl command line tool, I can access a web page, send login user
and passwd etc. However, I couldn't figure out to to access a link inside
the page.

For example, after running:
>curl http://pcaryy1a
I got:
...
<a href="/mobilelocator/servlet/MobileLocator?reqtype=showDetailsPage">
...

How can I access the href page? I tried the -e option but couldn't figure it
out.

Can you do the main page and ref page in one command line?

Thanks for your help.

Simon

_________________________________________________________________
MSN Premium with Virus Guard and Firewall* from McAfeeŽ Security : 2 months
FREE*
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines
Received on 2004-04-01