fix: less verbose log

This commit is contained in:
NunoSempere 2022-01-12 13:08:50 +01:00
parent 379269a2a1
commit 884cfb2463

View File

@ -82,7 +82,7 @@ export async function metaculus() {
await sleep(5000)
let questionPage = await fetchMetaculusQuestionDescription(result.page_url)
if(!questionPage.includes("A public prediction by")){
console.log(questionPage)
// console.log(questionPage)
let descriptionraw = questionPage.split(`<div class="content" ng-bind-html-compile="qctrl.question.description_html">`)[1] //.split(`<div class="question__content">`)[1]
let descriptionprocessed1 = descriptionraw.split("</div>")[0]
let descriptionprocessed2 = toMarkdown(descriptionprocessed1)