Skip to content

Commit

Permalink
remove code for obsolete beautifulsoup versions
Browse files Browse the repository at this point in the history
  • Loading branch information
hannob committed Oct 19, 2024
1 parent 974d304 commit 28b0fae
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions snallygaster
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ dns_cache = {}
# content of a webpage looks suspicious, i.e. when it only
# contains a single URL or a filename. Since 4.9.1.
warnings.filterwarnings("ignore", category=bs4.MarkupResemblesLocatorWarning)
# For BeautifulSoup before 4.9.1, can be removed at some point.
warnings.filterwarnings("ignore", category=UserWarning, module="bs4")
# Disable warnings when BeautifulSoup sees an XML document
warnings.filterwarnings("ignore", category=XMLParsedAsHTMLWarning, module="html.parser")

Expand Down

0 comments on commit 28b0fae

Please sign in to comment.