Browse Source

do not compare strictly

fix-broken-scrape
Jørgen Sverre Lien Sellæg 5 years ago
parent
commit
27279f6695
  1. 2
      src/scrape-event.js

2
src/scrape-event.js

@ -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);

Loading…
Cancel
Save