ilhamdev commited on
Commit
e388521
·
verified ·
1 Parent(s): f54ae14

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +1 -1
index.js CHANGED
@@ -7,6 +7,7 @@ const util = require('util');
7
  const axios = require('axios');
8
  const FormData = require('form-data')
9
  const cheerio = require('cheerio')
 
10
  let fetch;
11
 
12
  (async () => {
@@ -28,7 +29,6 @@ const post = async (url, form, headers = {}) => {
28
 
29
  //INDOWN
30
  async function igdl(query) {
31
- let cloudscraper = await import('cloudscraper');
32
  url_dl = [];
33
  let headers = {
34
  'Accept': '*/*',
 
7
  const axios = require('axios');
8
  const FormData = require('form-data')
9
  const cheerio = require('cheerio')
10
+ const cloudscraper = require('cloudscraper')
11
  let fetch;
12
 
13
  (async () => {
 
29
 
30
  //INDOWN
31
  async function igdl(query) {
 
32
  url_dl = [];
33
  let headers = {
34
  'Accept': '*/*',