What am I doing wrong with urllib.urlopen() ?
Bengt Richter
bokr at oz.net
Tue Mar 26 20:14:23 EST 2002
On 23 Mar 2002 22:01:45 -0800, jriveramerla at yahoo.com (Jose Rivera) wrote:
>Thanks for your comments... the site uses POST method, so
>I saved to disk the page, and modify it to use GET so
>I could get an idea of the parameters used...
>The URL calculated :
>
>http://avisos.elnorte.com/casa_venta_result.asp?fotos=0&Order=order+by+colonia&Precio_i=-1&Presentacion=Tabla&Precio_f=-1&PLANTAS=0&pagina=1&id_inmueble=3&dia=&RECAMARAS=0&constr_f=-1&COLONIA=0&BANOS=0&Tipo=CASAS&Constr_i=-1&Terreno_i=-1&Terreno_f=-1&zona=0
>
>works on my PC, try it, and let's see whats wrong.
>
>thanks for your time, and comments.
>
>Does anyone have an idea of how I can save it to a DataBase? Is there
>a better way?
>
The best way would probably be to get an account on their database and talk to it
directly over a secure SSL link, and bypass all the web stuff.
Do you think they would go for that?
Regards,
Bengt Richter
More information about the Python-list
mailing list