[ANN] DejaGrabber 0.1 -- search Dejanews with Python
Val Bykoski
vbykovsk at sdsp.mc.xerox.com
Fri Jun 25 10:44:11 EDT 1999
Neel:
This looks really great..
But I have this:
Traceback (innermost last):
File "<interactive input>", line 1, in ?
File "C:\Program Files\Py152\Lib\httplib.py", line 51, in __init__
if host: self.connect(host, port)
File "C:\Program Files\Py152\Lib\httplib.py", line 79, in connect
self.sock.connect(host, port)
File "<string>", line 1, in connect
error: (10065, 'winsock error')
when i am trying to reach www.python.org thru a proxy (www.mc.xerox.com).
How to handle this proxy-related situation?
Thanx -- val
Neel Krishnaswami <neelk at brick.cswv.com> wrote in message
news:7kuu73$1ki$1 at brick.cswv.com...
>
> If you'd like a convenient way of searching the DejaNews archive using
> Python, I'm happy to present the DejaGrabber module. This is a module
> to make searching Dejanews easier. There are two classes, DejaGrabber
> and Article. I've tried to add a reasonable number of useful
> docstrings, too.
>
> The interface to DejaGrabber could probably use a bit of work. If I
> ever use it enough to find out what the flaws are, I will fix
> it. Patches are welcome. :)
>
> Here's an example:
> >>> from DejaGrabber import *
> >>> d = DejaGrabber(group='comp.lang.python', author='Tim Peters')
> >>> l = d.get_messages(4)
> >>> print l
> [99/06/23 30 comp.lang.python RE: Python Exes! Tim Peters
> , 99/06/18 28 comp.lang.python RE: Newbie: Truth values (th Tim
Peters
> , 99/06/18 28 comp.lang.python RE: DATE ARITHMETIC Tim Peters
> , 99/06/18 28 comp.lang.python RE: NameError Problem Tim Peters
> , 99/05/18 25 comp.lang.python RE: while (a=b()) ... Tim Peters
> ]
>
> You can grab a copy at
>
> http://www.sff.net/people/neelk/free-software/DejaGrabber.py
>
>
> Neel
More information about the Python-list
mailing list