Autentificarse en web via Python

Batista, Facundo FBatista en uniFON.com.ar
Mie Ene 14 17:41:03 CET 2004


Fernando Blat escribió:

#- estoy interesado en hacerme un script en Python que me baje 
#- a un txt una parte de una web. Más o menos eso lo veo 
#- asequible, pero hay un problema: la web requiere 
#- autentificación con usuario y contraseña. He estado mirando 
#- pero no sé por donde tirar. Me temo que tendré que trabajar 
#- con las cookies que me envíe el servidor y con el módulo HTTPLib.
#- 
#- Alguna sugerencia?


Prueba Naja:


Naja is a download manager and a website grabberl written in
Python/wxPython.
You can add some plugins (newsreader, newsposter,  client FTP, client
WebDAV) 
and take the control on your downloads since your office. Naja supports
proxy (HTTP,
HTTPS, FTP, SOCKS v4a, SOCKS v5), and use some authentication methods.
The downloading maybe achieved by splitting  the file being downloaded 
into several parts and downloading these parts  at the same time (HTTP,
 HTTPS, FTP). Donwload speeds are increased by downloading the file 
from the mirrors sites, when the sites propose it.

Others features: 
 Csv filter 
 Cheksums (CRC32, MD5, SHA1)
 newsreader, newsposter (uue, yEnc)
 CGI & WebDAV Server (only PROPFIND method for the moment)
 Web Interface
 basic and digest authentication for client and server

Naja is available for download from the Keyphrene web site:
http://www.keyphrene.com/products/naja


.	Facundo




Más información sobre la lista de distribución Python-es