tweak
This commit is contained in:
parent
c064b23c9e
commit
108da329d5
|
@ -24,8 +24,7 @@ export async function goodjudgment() {
|
||||||
let content = await axios
|
let content = await axios
|
||||||
.get(endpoint, {
|
.get(endpoint, {
|
||||||
headers: {
|
headers: {
|
||||||
"User-Agent":
|
"User-Agent": "Axios",
|
||||||
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.0.3 Safari/605.1.15",
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then((query) => query.data);
|
.then((query) => query.data);
|
||||||
|
@ -94,6 +93,9 @@ export async function goodjudgment() {
|
||||||
// fs.writeFileSync('./goodjudgment-questions-test.json', string);
|
// fs.writeFileSync('./goodjudgment-questions-test.json', string);
|
||||||
console.log(results);
|
console.log(results);
|
||||||
await upsert(results, "goodjudgment-questions");
|
await upsert(results, "goodjudgment-questions");
|
||||||
|
console.log(
|
||||||
|
"Failing is not unexpected; see utils/pullSuperforecastsManually.sh/js"
|
||||||
|
);
|
||||||
console.log("Done");
|
console.log("Done");
|
||||||
}
|
}
|
||||||
// goodjudgment()
|
// goodjudgment()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user