diff --git a/src/authenticate.ts b/src/authenticate.ts
index 687a9bab..35df2e2d 100755
--- a/src/authenticate.ts
+++ b/src/authenticate.ts
@@ -24,7 +24,7 @@ Options:
 // Imports
 import { CookieJar, Cookie } from "tough-cookie";
 import { FileCookieStore } from "tough-cookie-file-store";
-import cheerio from "cheerio";
+import * as cheerio from "cheerio";
 import createLogger from "./logging.js";
 import winston from "winston";
 import docopt from "docopt";
diff --git a/src/get_license.ts b/src/get_license.ts
index b756793b..7bda46b1 100755
--- a/src/get_license.ts
+++ b/src/get_license.ts
@@ -32,7 +32,7 @@ Options:
 // Imports
 import { CookieJar } from "tough-cookie";
 import { FileCookieStore } from "tough-cookie-file-store";
-import cheerio from "cheerio";
+import * as cheerio from "cheerio";
 import createLogger from "./logging.js";
 import docopt from "docopt";
 import fetchCookie from "fetch-cookie";