Skip to content

Commit 28b0fae

Browse files
committed
remove code for obsolete beautifulsoup versions
1 parent 974d304 commit 28b0fae

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

snallygaster

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ dns_cache = {}
3939
# content of a webpage looks suspicious, i.e. when it only
4040
# contains a single URL or a filename. Since 4.9.1.
4141
warnings.filterwarnings("ignore", category=bs4.MarkupResemblesLocatorWarning)
42-
# For BeautifulSoup before 4.9.1, can be removed at some point.
43-
warnings.filterwarnings("ignore", category=UserWarning, module="bs4")
4442
# Disable warnings when BeautifulSoup sees an XML document
4543
warnings.filterwarnings("ignore", category=XMLParsedAsHTMLWarning, module="html.parser")
4644

0 commit comments

Comments
 (0)