Upgrade beautifulsoup4 to 4.8.1 (#27325)
This commit is contained in:
1 parent
0a66a03de6
commit
396e68a4b9
3 files changed
+3
-4
No files matched your search
@@ -1,6 +1,7 @@
|
||||
"""Support for getting data from websites with scraping."""
|
||||
import logging
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
import voluptuous as vol
|
||||
from requests.auth import HTTPBasicAuth, HTTPDigestAuth
|
||||
|
||||
@@ -124,8 +125,6 @@ class ScrapeSensor(Entity):
|
||||
_LOGGER.error("Unable to retrieve data")
|
||||
return
|
||||
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
raw_data = BeautifulSoup(self.rest.data, "html.parser")
|
||||
_LOGGER.debug(raw_data)
|
||||
|
||||
|
||||
Reference in new issue
Block a user