Beautiful Soup Flashcards
1
Q
4 main types of object classes?
A
BeautifulSoup
Tag
NavigableString
Comment
2
Q
most important features of a tag
A
name and attributes
3
Q
You can access a tag’s attributes by?
A
Treating the tag like a dictionary
4
Q
how do you access a tags attributes?
A
.attrs
5
Q
what class sis used to contain these bits of text within tags
A
NavigableString
6
Q
What is a regular expression in python?
A
a regular expression is a special sequence of characters that helps you match or fins other strings or sets of strings, using specialized syntax held in a pattern.
Regular expressions are widely used in UNIX world.