This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [OT] Re: Want to use tor with wget.


On Tue, 13 Oct 2009 21:09:32 +0100, Dave Korn wrote:

>Well, you can use wget!  Or you can tell your curl to pretend it is wget!

I also found that the following command will do the trick:
 
$ curl -x localhost:8118 'http://www.cybersyndrome.net/pla5.html' -A
'User-Agent: Wget/1.11.4'

But the following command will fail:

$ curl -x localhost:8118 'http://www.cybersyndrome.net/pla5.html'
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>302 Found</TITLE>
</HEAD><BODY>
<H1>Found</H1>
The document has moved <A
HREF="http://www8.big.or.jp/~000/CyberSyndrome/error40
4.html">here</A>.<P>
</BODY></HTML>

Very strange, the above result is just the sasem as that returned by
the switch --socks5.  Why does this happen?  Any hints will be highly
appreciated.

Best regards.  
-- 
.: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]