|
|
|
@ -19,7 +19,7 @@ const options = parse_args(process.argv.slice(2)); |
|
|
|
let events = []; |
|
|
|
let events = []; |
|
|
|
|
|
|
|
|
|
|
|
for (const event of page_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) { |
|
|
|
if (index === -1) { |
|
|
|
sleep(2); |
|
|
|
sleep(2); |
|
|
|
|