It is definitely not good programming to expose your data source, unsafe, not even password ? I would never program like that.
- In Chrome, Go to https://www.nytimes.com/interactive/2020/11/03/us/elections/results-president.html It is ok to see the pay wall
- Right click mouse and Inpect.
- Cntrl F, find the word ‘president.json’.
- There, there, we got source data feed nyt used
-
Some urls from above source code:
a. https://static01.nyt.com/elections-assets/2020/data/api/2020-11-03/national-map-page/national/president.json this one doesnt have timestamp, looks like it is result dat.
b. https://static01.nyt.com/elections-assets/2020/data/liveModel/2020-11-03/president/summary.json looks like this is time lapped country level count data.
5. Click on Michigan, you get the Michigan data from the source code:
- https://static01.nyt.com/elections-assets/2020/data/api/2020-11-03/race-page/michigan/president.json looks like this is time lapped state level data. I think this is the file PedeInpector used.