[EMAIL PROTECTED] wrote:
> Hiya,
> 
> Im trying to find a method of searching a html file (ive grabbed it
> with FancyURLopener), basically in the html file there is a series of
> links in the following format -
> 
> A HREF="../../company/11/13/820.htm">some name</A
> 
> so I want to search the file for "../../company/" and then get the 13
> charecters after it so that I can work it as a URL, if you see what I
> mean?

You want to use BeautifulSoup.

   http://www.crummy.com/software/BeautifulSoup/

-- 
Robert Kern
[EMAIL PROTECTED]

"In the fields of hell where the grass grows high
  Are the graves of dreams allowed to die."
   -- Richard Harter

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to