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 :)



tags: , , ,

00:42:01 by fishy - linux - Permanent Link

Revision: 1.3/1.3, last modified on 2007-03-19 @ 14:40.

Karma: 37 (60.69% out of 173 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.

yasker

yasker wrote:

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

boost wrote:

I prefer to export http_proxy=... in shell.

Tuesday, March 20, 2007 02:03:48

fishy

fishy wrote:

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

Letia Bush

Letia Bush wrote:

i like the way you have other ways to get to a website

Saturday, March 31, 2007 03:31:20

Add Comment

 

May the Force be with you. RAmen