Update lib/sfilemobi/sfilemobi-dl.js
Browse files
lib/sfilemobi/sfilemobi-dl.js
CHANGED
@@ -3,7 +3,7 @@ import * as cheerio from 'cheerio';
|
|
3 |
import { DEFAULT_HEADERS } from '../constant.js';
|
4 |
import { SfilemobidlArgsSchema, SfilemobidlSchema } from '../types/sfilemobi-dl-v1.js';
|
5 |
|
6 |
-
export
|
7 |
SfilemobidlArgsSchema.parse([url]);
|
8 |
|
9 |
const data = await got(url, {
|
|
|
3 |
import { DEFAULT_HEADERS } from '../constant.js';
|
4 |
import { SfilemobidlArgsSchema, SfilemobidlSchema } from '../types/sfilemobi-dl-v1.js';
|
5 |
|
6 |
+
export async function sfilemobi(url) {
|
7 |
SfilemobidlArgsSchema.parse([url]);
|
8 |
|
9 |
const data = await got(url, {
|