GuessedAtParserWarning in logs
holdestmade opened this issue · comments
Getting lots of these in my logs:
/config/custom_components/multiscrape/sensor.py:213: GuessedAtParserWarning: No parser was explicitly specified, so I'm using the best available HTML parser for this system ("lxml"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently.
The code that caused this warning is on line 213 of the file /config/custom_components/multiscrape/sensor.py. To get rid of this warning, pass the additional argument 'features="lxml"' to the BeautifulSoup constructor.
result = BeautifulSoup(self.rest.data)
/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py:981: InsecureRequestWarning: Unverified HTTPS request is being made to host 'weather.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
warnings.warn(
The first warning has been fixed in the latest release (1.0.0). You can fix the second warning by setting verify_ssl to true (or omitting it).