You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran deno run -A scrape.ts --session 2019 to get all the data for the 2019 session and I started to get some TypeErrors that got logged but didn't result in the script blowing up. Should investigate, however, because it could be missing data when it does so.
Here's an example of the error that is logged:
Error scraping financial activity for 1424846 TypeError: Cannot read properties of undefined (reading 'innerText')
at scrapeLobbyingFirmFinancialActivity (file:///Users/jeremiak/code/calmatters/cal-access-lobbying-firms/scrape.ts:95:37)
at eventLoopTick (ext:core/01_core.js:183:11)
at async file:///Users/jeremiak/code/calmatters/cal-access-lobbying-firms/scrape.ts:138:37
at async file:///Users/jeremiak/Library/Caches/deno/npm/registry.npmjs.org/p-queue/7.3.4/dist/index.js:118:36
The text was updated successfully, but these errors were encountered:
I ran
deno run -A scrape.ts --session 2019
to get all the data for the 2019 session and I started to get someTypeErrors
that got logged but didn't result in the script blowing up. Should investigate, however, because it could be missing data when it does so.Here's an example of the error that is logged:
The text was updated successfully, but these errors were encountered: