Scraping outage data from PGE

Viewed 38

I am trying to explore the correlation between power outage likelihood and income, and therefore attempts to scrape the power outage data from

https://pgealerts.alerts.pge.com/outagecenter/

When clicking the dot in the map, the time and the number of affected customers reveal. I want to collect the location(longitude/latitude). I start with duplicate and apply the tutorial in this video

https://www.youtube.com/watch?v=zesUhmT7Oz0&t=139s

but failed to see how to find the XHR/fetch that corresponding to the outage list (according to the steps in the video, I stuck in step 2).

I also have read previous attempts by Simon, but did not see how he achieve that feat. Any suggestions about how to do this would be very helpful.

1 Answers

For those interested, I eventually found an api in Simon's works. I don't know how he found it, but the api works for me.

Related