Beautiful Soup Looping Extraction Question

Tess testone at
Tue Mar 25 01:56:06 CET 2008

Paul - thanks for the input, it's interesting to see how pyparser
handles it.

Anyhow, a simple regex took care of the issue in BS:

for i in soup.findAll(re.compile('^p|^div'),align=re.compile('^center|
    print i

Thanks again!


More information about the Python-list mailing list