Upgrade beautifulsoup4 to 4.8.1 (#27325)

This commit is contained in:
Fabian Affolter authored and Paulus Schoutsen committed 2019-10-08 09:28:37 -07:00
1 parent 0a66a03de6
commit 396e68a4b9
3 files changed
+3 -4

No files matched your search

@@ -3,7 +3,7 @@
"name": "Scrape",
"documentation": "https://www.home-assistant.io/integrations/scrape",
"requirements": [
"beautifulsoup4==4.8.0"
"beautifulsoup4==4.8.1"
],
"dependencies": [],
"codeowners": [
+1 -2
View File
@@ -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)