Re: code debugging

2009-07-26 Thread Gabriel Genellina
En Sun, 26 Jul 2009 03:33:27 -0300, golu escribió: i want to save pages in a directory and i m using the urls to get filenames. The program gets stuck in the saving step.can u suggest me a way to save a page e.g google.com as a file google.html You may use str.translate to replace/remove al

Re: code debugging

2009-07-25 Thread golu
On Jul 26, 11:28 am, Chris Rebert wrote: > On Sat, Jul 25, 2009 at 11:23 PM, golu wrote: > > here is a code which crawls links sent to it. theres some problem with > > the retrieve_url function ,plz help me out in debugging the fuction > > retrive_url. This function retrives pages and saves them i

Re: code debugging

2009-07-25 Thread Chris Rebert
On Sat, Jul 25, 2009 at 11:23 PM, golu wrote: > here is a code which crawls links sent to it. theres some problem with > the retrieve_url function ,plz help me out in debugging the fuction > retrive_url. This function retrives pages and saves them in file Please specify exactly what the problem is