You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
__copyright__="Copyright (c) 2004-2023 Leonard Richardson"
20
20
# Use of this source code is governed by the MIT license.
21
21
__license__="MIT"
@@ -38,11 +38,13 @@
38
38
builder_registry,
39
39
ParserRejectedMarkup,
40
40
XMLParsedAsHTMLWarning,
41
+
HTMLParserTreeBuilder
41
42
)
42
43
from .dammitimportUnicodeDammit
43
44
from .elementimport (
44
45
CData,
45
46
Comment,
47
+
CSS,
46
48
DEFAULT_OUTPUT_ENCODING,
47
49
Declaration,
48
50
Doctype,
@@ -116,7 +118,7 @@ class BeautifulSoup(Tag):
116
118
ASCII_SPACES='\x20\x0a\x09\x0c\x0d'
117
119
118
120
NO_PARSER_SPECIFIED_WARNING="No parser was explicitly specified, so I'm using the best available %(markup_type)s parser for this system (\"%(parser)s\"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.\n\nThe code that caused this warning is on line %(line_number)s of the file %(filename)s. To get rid of this warning, pass the additional argument 'features=\"%(parser)s\"' to the BeautifulSoup constructor.\n"
0 commit comments