Upgrade beautifulsoup4 to 4.8.1 (#27325)

This commit is contained in:
Fabian Affolter 2019-10-08 18:28:37 +02:00 committed by Paulus Schoutsen
parent 0a66a03de6
commit 396e68a4b9
3 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,7 @@
"name": "Scrape", "name": "Scrape",
"documentation": "https://www.home-assistant.io/integrations/scrape", "documentation": "https://www.home-assistant.io/integrations/scrape",
"requirements": [ "requirements": [
"beautifulsoup4==4.8.0" "beautifulsoup4==4.8.1"
], ],
"dependencies": [], "dependencies": [],
"codeowners": [ "codeowners": [

View File

@ -1,6 +1,7 @@
"""Support for getting data from websites with scraping.""" """Support for getting data from websites with scraping."""
import logging import logging
from bs4 import BeautifulSoup
import voluptuous as vol import voluptuous as vol
from requests.auth import HTTPBasicAuth, HTTPDigestAuth from requests.auth import HTTPBasicAuth, HTTPDigestAuth
@ -124,8 +125,6 @@ class ScrapeSensor(Entity):
_LOGGER.error("Unable to retrieve data") _LOGGER.error("Unable to retrieve data")
return return
from bs4 import BeautifulSoup
raw_data = BeautifulSoup(self.rest.data, "html.parser") raw_data = BeautifulSoup(self.rest.data, "html.parser")
_LOGGER.debug(raw_data) _LOGGER.debug(raw_data)

View File

@ -267,7 +267,7 @@ batinfo==0.4.2
# beacontools[scan]==1.2.3 # beacontools[scan]==1.2.3
# homeassistant.components.scrape # homeassistant.components.scrape
beautifulsoup4==4.8.0 beautifulsoup4==4.8.1
# homeassistant.components.beewi_smartclim # homeassistant.components.beewi_smartclim
beewi_smartclim==0.0.7 beewi_smartclim==0.0.7