Skip to content

Commit

Permalink
chore: disable logs
Browse files Browse the repository at this point in the history
  • Loading branch information
bot authored and bot committed Dec 7, 2023
1 parent 5a42008 commit ba75fed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crawler.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ async function crawl(targetUrl) {


if (!targetUrl) throw new Error("targetUrl is required");
console.log("targetUrl: ", targetUrl);
// console.log("targetUrl: ", targetUrl);
let browser;
try {
console.log("start crawl");
Expand All @@ -71,7 +71,7 @@ async function crawl(targetUrl) {
let data_json = JSON.parse(data);
const fngIndex = data_json?.fear_and_greed?.score;
if (isNaN(fngIndex)) throw new Error("fngIndex is not a number");
console.log("fngIndex: ", fngIndex);
// console.log("fngIndex: ", fngIndex);
return fngIndex;
}
catch (e) {
Expand Down

0 comments on commit ba75fed

Please sign in to comment.