Update index.js
Browse files
index.js
CHANGED
|
@@ -9,6 +9,7 @@ const FormData = require('form-data')
|
|
| 9 |
const cheerio = require('cheerio')
|
| 10 |
const cloudscraper = require('cloudscraper')
|
| 11 |
const { File } = require('megajs')
|
|
|
|
| 12 |
let fetch;
|
| 13 |
|
| 14 |
(async () => {
|
|
@@ -38,7 +39,6 @@ async function bimg(query) {
|
|
| 38 |
return filteredData
|
| 39 |
}
|
| 40 |
async function bingChat(query) {
|
| 41 |
-
const { BingChat } = require("bing-chat-cjs-rnz");
|
| 42 |
const api = new BingChat({
|
| 43 |
cookie: process.env.BING_IMAGE_COOKIE
|
| 44 |
})
|
|
|
|
| 9 |
const cheerio = require('cheerio')
|
| 10 |
const cloudscraper = require('cloudscraper')
|
| 11 |
const { File } = require('megajs')
|
| 12 |
+
const { BingChat } = require("bing-chat-cjs-rnz");
|
| 13 |
let fetch;
|
| 14 |
|
| 15 |
(async () => {
|
|
|
|
| 39 |
return filteredData
|
| 40 |
}
|
| 41 |
async function bingChat(query) {
|
|
|
|
| 42 |
const api = new BingChat({
|
| 43 |
cookie: process.env.BING_IMAGE_COOKIE
|
| 44 |
})
|