From 35a7ef2da99c14c05212842f7ef32313a1b52465 Mon Sep 17 00:00:00 2001 From: tomlut <10679300+tomlut@users.noreply.github.com> Date: Tue, 22 Jun 2021 16:21:40 +1000 Subject: [PATCH] Remove BoM Weather example (#18249) --- source/_integrations/scrape.markdown | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/source/_integrations/scrape.markdown b/source/_integrations/scrape.markdown index 08adea24ebc..76ecb1e2eff 100644 --- a/source/_integrations/scrape.markdown +++ b/source/_integrations/scrape.markdown @@ -179,25 +179,3 @@ sensor: ``` {% endraw %} - -### BOM Weather - -The Australian Bureau of Meteorology website returns an error if the User Agent header is not sent. - -{% raw %} - -```yaml -# Example configuration.yaml entry -sensor: - - platform: scrape - resource: http://www.bom.gov.au/vic/forecasts/melbourne.shtml - name: Melbourne Forecast Summary - select: ".main .forecast p" - value_template: "{{ value | truncate(255) }}" - # Request every hour - scan_interval: 3600 - headers: - User-Agent: Mozilla/5.0 -``` - -{% endraw %}