Update lib/savefrom.js
Browse files- lib/savefrom.js +2 -2
lib/savefrom.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import got from "got";
|
2 |
import vm from "vm";
|
3 |
-
import { DEFAULT_HEADERS } from "
|
4 |
-
import { generateHash } from "
|
5 |
import { SavefromArgsSchema, SavefromSchema } from "../lib/types/savefrom-v1.js";
|
6 |
|
7 |
export async function savefrom(url) {
|
|
|
1 |
import got from "got";
|
2 |
import vm from "vm";
|
3 |
+
import { DEFAULT_HEADERS } from "./constant.js";
|
4 |
+
import { generateHash } from "./util.js";
|
5 |
import { SavefromArgsSchema, SavefromSchema } from "../lib/types/savefrom-v1.js";
|
6 |
|
7 |
export async function savefrom(url) {
|