Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running into some TypeErrors when running #1

Open
jeremiak opened this issue Jul 27, 2023 · 0 comments
Open

Running into some TypeErrors when running #1

jeremiak opened this issue Jul 27, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@jeremiak
Copy link
Owner

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
@jeremiak jeremiak added the bug Something isn't working label Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant