mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Upgrade beautifulsoup4 to 4.8.1 (#27325)
This commit is contained in:
parent
0a66a03de6
commit
396e68a4b9
@ -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,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)
|
||||
|
||||
|
@ -267,7 +267,7 @@ batinfo==0.4.2
|
||||
# beacontools[scan]==1.2.3
|
||||
|
||||
# homeassistant.components.scrape
|
||||
beautifulsoup4==4.8.0
|
||||
beautifulsoup4==4.8.1
|
||||
|
||||
# homeassistant.components.beewi_smartclim
|
||||
beewi_smartclim==0.0.7
|
||||
|
Loading…
x
Reference in New Issue
Block a user