Autogenerated API
Table of Contents
Tag
NavigableString
BeautifulSoup
.contents
.children
.descendants
.string
.strings
stripped_strings
.parent
.parents
.next_sibling
.previous_sibling
.next_siblings
.previous_siblings
.next_element
.previous_element
.next_elements
.previous_elements
True
find_all()
name
text
limit
recursive
find()
find_parents()
find_parent()
find_next_siblings()
find_next_sibling()
find_previous_siblings()
find_previous_sibling()
find_all_next()
find_next()
find_all_previous()
find_previous()
append()
BeautifulSoup.new_string()
.new_tag()
insert()
insert_before()
insert_after()
clear()
extract()
decompose()
replace_with()
wrap()
unwrap()
get_text()
SoupStrainer
diagnose()
Doctype.
find_previous
Returns the first item that matches the given criteria and appears before this Tag in the document.