skulbrane / metagoofil

Automatically exported from code.google.com/p/metagoofil
GNU General Public License v2.0
0 stars 0 forks source link

example: adding download proxy support #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run program as-is, no support for proxys
2.
3.

What is the expected output? What do you see instead?
n/a

What version of the product are you using? On what operating system?
svn read-only revision 2

Please provide any additional information below.

The patch below adds download proxy support.  It's not vetted nor robust, but 
illustrates the approach that we're taking to add proxy support for both 
downloading files and a separate proxy for queries.

Original issue reported on code.google.com by kgi...@gmail.com on 21 Jun 2011 at 8:38

Attachments:

GoogleCodeExporter commented 9 years ago
Example usage with the patch through a proxy:

python metagoofil.py -d doma.in -t doc -l 10 -n 10 -o dumpdir -f site.html -p 
192.168.10.10 -r 3128

Original comment by kgi...@gmail.com on 21 Jun 2011 at 8:40