Skip to content

Instantly share code, notes, and snippets.

@GursheeshSingh
Created May 6, 2020 12:19
Show Gist options
  • Save GursheeshSingh/ccb2201516365650feb0229efaa7f8c2 to your computer and use it in GitHub Desktop.
Save GursheeshSingh/ccb2201516365650feb0229efaa7f8c2 to your computer and use it in GitHub Desktop.
const request = require("request");
request(
"https://baylorbears.com/sports/2018/5/16/ot-live-stats-html.aspx",
{
json: true,
},
(err, res, body) => {
if (err) {
return console.log(err);
}
console.log(request);
console.log(res.statusCode);
console.log(body);
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment