[Twisted-Python] [Twisted Newbie] Proxies
Dear Twisted List, I am a Twisted Newbie, searching in the examples directory I didn't find one sample to guide me how to use the Spider with a Proxy. I know it must be a simple solution and I would like to know that solution. The spider sample is very simple: ----- o ----- #!/usr/bin/python from twisted.web import spider from twisted.web import proxy from twisted.internet import app from twisted.python.util import println a = app.Application("spider") s = spider.SpiderSender("spider", a) s.addTargets(['http://www.yahoo.com/']) s.maxDepth = 1 s.notifyDownloadStart = lambda uri: println('starting', uri) s.notifyDownloadEnd = lambda uri: println('stopping', uri) a.run(save=0) ----- o ---- What is the code to use it beyond a proxy? Thank You All Iggeres ___________________________________________________ Yahoo! Móviles Personaliza tu móvil con tu logo y melodía favorito en http://moviles.yahoo.es
On Tue, 4 Mar 2003, =?iso-8859-1?q?Iggeres=20Bet?=
The spider sample is very simple: ... What is the code to use it beyond a proxy?
Currently, the Spider does not support proxies. Patches happily accepted. -- Moshe Zadka -- http://moshez.org/ Buffy: I don't like you hanging out with someone that... short. Riley: Yeah, a lot of young people nowadays are experimenting with shortness.
participants (2)
-
Iggeres Bet
-
Moshe Zadka