Removed debugg logs. Smal fixes.

This commit is contained in:
Naida Vatric
2020-02-06 22:40:56 +01:00
parent 91a1c6a91e
commit 97724a47a1
3 changed files with 3 additions and 32 deletions

View File

@@ -218,7 +218,7 @@ class SaljicCrawler {
}
async scrapeAd(url, adType) {
console.log("[SALJIC] Scraping : ", url);
// console.log("[SALJIC] Scraping : ", url);
try {
const adPageSource = await fetch(url);
const body = await adPageSource.text();
@@ -543,7 +543,6 @@ class SaljicCrawler {
distanceToRiver,
numberOfViewsAgency
};
console.log(data);
return data;
} catch (e) {
console.error("Exception caught: " + e.message, "\r\nURL:", url);