Browse Source

fix: cheerio

Yaavi 8 months ago
parent
commit
456bc3df62
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/fetch.ts

+ 1 - 1
scripts/fetch.ts

@@ -1,7 +1,7 @@
 import fs from "fs";
 import fs from "fs";
 import path from 'path';
 import path from 'path';
 import axios from "axios";
 import axios from "axios";
-import cheerio from "cheerio";
+import * as cheerio from "cheerio";
 import { ArgumentParser } from "argparse";
 import { ArgumentParser } from "argparse";
 
 
 const getPaperUrls = async (year: number): Promise<string[]> => {
 const getPaperUrls = async (year: number): Promise<string[]> => {