La Vita è Bella
Tuesday, March 20, 2007
Note: set proxy for wget
wget -Y -e "http_proxy=host:port" url
"How to set proxy for wget?" I've been asked this question for many times, but it seems didn't appears in the "-h" output nor man page, so I always forgot it.
That's why I'm making a note here :)
00:42:01 by fishy - linux - Permanent Link
Revision: 1.3/1.3, last modified on 2007-03-20 @ 13:40.
Karma: 10 (55.32% out of 94 were positive) [+/-]
You can subscribe to RSS 2.0 feed for comments and trackbacks
Trackbacks:There are currently no trackbacks for this item.Use this TrackBack url to ping this item (right-click, copy link target). If your blog does not support Trackbacks you can manually add your trackback by using this form.
Addons: The same as ftp_proxy. And "--no-proxy" can be used if you specify http_proxy in env.
Tuesday, March 20, 2007 01:48:53
boost wrote:
I prefer to export http_proxy=... in shell.
Tuesday, March 20, 2007 02:03:48
![]()
Well, this way can keep the other of the system untouched (also "http_proxy=... wget --proxy=on url" can do it, but it's bash only).
I used to wrote a script to verify proxies, it wget a webpage, and wget with the same webpage with proxy, and diff them. It's suitable for such case.
Tuesday, March 20, 2007 06:41:10
i like the way you have other ways to get to a website
Saturday, March 31, 2007 03:31:20


