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

Update CPM crawler #103

Merged
merged 10 commits into from
Jan 8, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Mitigate linting errors
muodov committed Jan 8, 2025
commit d805d79f9056055bf38eedcda730fd2d6f7e4138
1 change: 1 addition & 0 deletions crawlerConductor.js
Original file line number Diff line number Diff line change
@@ -35,6 +35,7 @@ async function crawlAndSaveData(urlString, dataCollectors, log, filterOutFirstPa
*/
const prefixedLog = (...msg) => log(chalk.gray(`${url.hostname}:`), ...msg);

// @ts-expect-error - outdated node types
const data = await crawl(url, {
log: prefixedLog,
// @ts-ignore
23 changes: 13 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -38,7 +38,7 @@
"mocha": "^10.0.0",
"mockery": "^2.1.0",
"pre-push": "^0.1.1",
"typescript": "^4.6.4"
"typescript": "^5.7.3"
},
"dependencies": {
"@duckduckgo/autoconsent": "^12.4.0",