diff --git a/src/scrape-event.js b/src/scrape-event.js index 68ebf6a..1960ba5 100644 --- a/src/scrape-event.js +++ b/src/scrape-event.js @@ -19,7 +19,7 @@ const options = parse_args(process.argv.slice(2)); let events = []; for (const event of page_events) { - const index = previous_events.findIndex(({ id }) => event.id === id); + const index = previous_events.findIndex(({ id }) => event.id == id); if (index === -1) { sleep(2);