I bit of digging in the browser debugger network section revealed some useful URLs for getting data from the outage site. URLs below are for the planned outages, but I'm sure there are equivalents for the current outages.
You can get JSON list of planned outages with coordinates and WebId
identifier from the following URL (plain GET): https://www.ausgrid.com.au/webapi/OutageMapData/GetFuturePlannedOutageMarkers. List looks like this:
[
{
"Customers": "85",
"Coords": [
{
"lat": -33.71821,
"lng": 151.13601
}
],
"OutageDisplayType": "P",
"WebId": 62572
},
{
"Customers": "94",
"Coords": [
{
"lat": -33.83988,
"lng": 151.24174
}
],
"OutageDisplayType": "P",
"WebId": 62912
},
.
.
.
]
Detailed JSON info about planned outages is available from the following URL (POST request): https://www.ausgrid.com.au/webapi/OutageListData/GetDetailedPlannedOutages. Info looks like this:
[
{
"Area": "Cronulla",
"Cause": "Critical electricity network changes for infrastructure projects",
"Detail": "",
"Customers": "less than 10",
"EndDateTime": "2023-08-30T17:00:00",
"StartDateTime": "2023-08-28T07:00:00",
"Status": "Cancelled",
"Streets": "Captain Cook Dr",
"WebId": 63213,
"JobId": "NECF81577"
},
{
"Area": "Marrickville, Camperdown, Newtown, Auburn, Arncliffe, Bardwell Valley, Lidcombe, Berala, Regents Park",
"Cause": "Overhead individual service wire replacement",
"Detail": "Each property will experience one power outage of approximately 2 hours between the times above.",
"Customers": "368",
"EndDateTime": "2023-09-01T17:00:00",
"StartDateTime": "2023-08-28T07:00:00",
"Status": "Proceeding as scheduled",
"Streets": "Addison Rd, Alma Ave, Australia St, Brompton St, Cardigan St, Cumberland Rd, Dowling St, East St, Edinburgh Rd, Enmore Rd, Fitzroy St, Garners Ave, Hall St, Hamilton St, Hastings St, Hawkhurst St, Holmesdale St, James St, Lansdowne St, Lorraine Ave, Northcote St, Northumberland Rd, Park Rd, Parramatta Rd, Percy St, Pile St, Princes Rd, Queen St, Rawson St, Sackville St, Short St, Skarratt St, Sloane St, Smith St, Station Rd, Susan St, Tavistock St, Water St",
"WebId": 64365,
"JobId": "NECF84760"
},
.
.
.
]
GetViewPortInfo
. But as @Vince already said, you might get in trouble scraping data from some website if it is not allowed!