fix: less verbose log
This commit is contained in:
parent
379269a2a1
commit
884cfb2463
|
@ -82,7 +82,7 @@ export async function metaculus() {
|
||||||
await sleep(5000)
|
await sleep(5000)
|
||||||
let questionPage = await fetchMetaculusQuestionDescription(result.page_url)
|
let questionPage = await fetchMetaculusQuestionDescription(result.page_url)
|
||||||
if(!questionPage.includes("A public prediction by")){
|
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 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 descriptionprocessed1 = descriptionraw.split("</div>")[0]
|
||||||
let descriptionprocessed2 = toMarkdown(descriptionprocessed1)
|
let descriptionprocessed2 = toMarkdown(descriptionprocessed1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user