[Tutor] Titles from a web page
Modulok
modulok at gmail.com
Thu May 5 05:52:39 CEST 2011
You might look into the third party module, 'BeautifulSoup'. It's designed to
help you interrogate markup (even poor markup), extracting nuggets of data based
on various criteria.
-Modulok-
On 5/4/11, louis leichtnam <l.leichtnam at gmail.com> wrote:
> Hello Everyone,
>
> I'm trying to write a program that looks in a webpage in find the titles of
> a subsection of the page:
>
> For example you have the list of the title of stories in a newspaper under
> the section "World" and you you click on it you have the entire story.
>
> I want a program that print the title only of this special section of the
> page.
>
> Can you help me out? I tried using regular expression but I keep hitting
> walls and I don't know what to do...
>
> Thank you
>
More information about the Tutor
mailing list