Update index.js
Browse files
index.js
CHANGED
|
@@ -8,7 +8,10 @@ const axios = require('axios');
|
|
| 8 |
const FormData = require('form-data')
|
| 9 |
const cheerio = require('cheerio')
|
| 10 |
let fetch;
|
| 11 |
-
let cloudscraper
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
(async () => {
|
| 14 |
fetch = (await import('node-fetch')).default;
|
|
|
|
| 8 |
const FormData = require('form-data')
|
| 9 |
const cheerio = require('cheerio')
|
| 10 |
let fetch;
|
| 11 |
+
let cloudscraper
|
| 12 |
+
(async () => {
|
| 13 |
+
cloudscraper = await import('cloudscraper');
|
| 14 |
+
})();
|
| 15 |
|
| 16 |
(async () => {
|
| 17 |
fetch = (await import('node-fetch')).default;
|