feat: first_run_days config — defaults to 90 days on first run, then posted_within_days after
This commit is contained in:
@@ -21,7 +21,7 @@ export async function searchWellfound(page, search) {
|
||||
await page.evaluate(() => window.scrollBy(0, 3000));
|
||||
await page.waitForTimeout(2000);
|
||||
|
||||
const found = await page.evaluate((track, excludes) => {
|
||||
const found = await page.evaluate(({ track, excludes }) => {
|
||||
const seen = new Set();
|
||||
const results = [];
|
||||
|
||||
@@ -57,7 +57,7 @@ export async function searchWellfound(page, search) {
|
||||
});
|
||||
|
||||
return results.slice(0, 30);
|
||||
}, search.track, search.exclude_keywords || []);
|
||||
}, { track: search.track, excludes: search.exclude_keywords || [] });
|
||||
|
||||
jobs.push(...found);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user