Thread
:
keep_only_tags and findAll
View Single Post
11-17-2010, 06:24 PM
#
1
boocko
Junior Member
Posts: 7
Karma: 10
Join Date: Nov 2010
Device: kindle3
keep_only_tags and findAll
Hello!
How does keep_only_tags pass parameters to soup's findAll?
Is it possible to do something as:
soup.findAll('p', limit=3)
with keep_only_tags syntax?
I want to keep only first div tag with a certain class attribute.
boocko
View Public Profile
Find More Posts by boocko
Track Posts by boocko via RSS