mirror of
https://github.com/home-assistant/core.git
synced 2025-07-26 22:57:17 +00:00
Upgrade beautifulsoup4 to 4.8.1 (#27325)
This commit is contained in:
parent
0a66a03de6
commit
396e68a4b9
@ -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": [
|
||||||
|
@ -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)
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user