Skip to content

Commit

Permalink
Update scraper.js
Browse files Browse the repository at this point in the history
  • Loading branch information
pretsell committed Jun 1, 2018
1 parent 460fcf1 commit a8a0df8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scraper.js
Expand Up @@ -38,10 +38,11 @@ function fetchPage(url, callback) {
}

function run(db) {
HLTV.getMatchesStats({startDate: '2018-05-.31', endDate: '2018-06-1'}).then((res => console.log(res))
HLTV.getMatchesStats({startDate: '2018-05-.31', endDate: '2018-06-1'}).then(res => console.log(res))
readRows(db);
db.close();
}
HLTV.getMatchesStats({startDate: '2018-05-.31', endDate: '2018-06-1'}).then((res) => {
initDatabase(run);

//function run(db) {
Expand Down

0 comments on commit a8a0df8

Please sign in to comment.