cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Downloading page source code

From: Pedro <phboba_at_gmail.com>
Date: Thu, 29 Jan 2009 11:02:44 -0200

Thomas Raef wrote:
> >If that's the case, you could try it by specifying a user-agent before
> >running your curl command.
>
> >Like: curl -A "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)"
> >"http://www.megaupload.com/pt/?d=WU62GDNI"
>
Well, I think I was wrong, maybe it has nothing to do with using a
browser or not, cuz i tried using the user-agent option
and nothing happened again.But thanks man.
One more thing, when I activate the header option, I get this:

HTTP/1.1 302 Found
Date: Thu, 29 Jan 2009 12:53:34 GMT
Server: Apache
location: http://www.megaupload.com/?d=WU62GDNI
Vary: Accept-Encoding
Content-Length: 0
Content-Type: text/html; charset=UTF-8

Any thoughts?
-------------------------------------------------------------------
List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-01-29