Re: newb: BeautifulSoup

2007-09-21 Thread crybaby
I added extra td tags to your example, for whatever reason I am getting None. When I do the following: print all_tds[0].string print all_tds[8].string from BeautifulSoup import BeautifulSoup doc = """ hello worldgoodby

Re: newb: BeautifulSoup

2007-09-21 Thread Gabriel Genellina
En Fri, 21 Sep 2007 00:04:50 -0300, crybaby <[EMAIL PROTECTED]> escribi�: > I need to traverse a html page with big table that has many row and > columns. For example, how to go 35th td tag and do regex to retireve > the content. After that is done, you move down to 15th td tag from > 35th tag

Re: newb: BeautifulSoup

2007-09-21 Thread 7stud
On Sep 20, 9:04 pm, crybaby <[EMAIL PROTECTED]> wrote: > I need to traverse a html page with big table that has many row and > columns. For example, how to go 35th td tag and do regex to retireve > the content. After that is done, you move down to 15th td tag from > 35th tag (35+15) and do regex

Re: newb: BeautifulSoup

2007-09-20 Thread Stefan Behnel
TheFlyingDutchman wrote: > On Sep 20, 8:04 pm, crybaby <[EMAIL PROTECTED]> wrote: >> I need to traverse a html page with big table that has many row and >> columns. For example, how to go 35th td tag and do regex to retireve >> the content. After that is done, you move down to 15th td tag from >>

Re: newb: BeautifulSoup

2007-09-20 Thread TheFlyingDutchman
On Sep 20, 8:04 pm, crybaby <[EMAIL PROTECTED]> wrote: > I need to traverse a html page with big table that has many row and > columns. For example, how to go 35th td tag and do regex to retireve > the content. After that is done, you move down to 15th td tag from > 35th tag (35+15) and do regex