Update index.js
Browse files
index.js
CHANGED
|
@@ -10,7 +10,7 @@ const cp = require('child_process')
|
|
| 10 |
const os = require('os')
|
| 11 |
const cheerio = require('cheerio')
|
| 12 |
const cloudscraper = require('cloudscraper')
|
| 13 |
-
const
|
| 14 |
const { File } = require('megajs')
|
| 15 |
const { BingChat } = require("bing-chat-cjs-rnz");
|
| 16 |
let fetch;
|
|
@@ -90,7 +90,7 @@ return res?.text
|
|
| 90 |
async function acrCloud(buffer) {
|
| 91 |
let { mime } = await (await import('file-type')).fileTypeFromBuffer(buffer);
|
| 92 |
if (/audio|video/.test(mime)) {
|
| 93 |
-
const wow = new
|
| 94 |
host: "identify-ap-southeast-1.acrcloud.com",
|
| 95 |
access_key: "b1cc283b4fb72483ebb6ea9c53512331",
|
| 96 |
access_secret: "xyqJGTZRTrUotaraHEjji00WBClx7RpWozywdANq"
|
|
|
|
| 10 |
const os = require('os')
|
| 11 |
const cheerio = require('cheerio')
|
| 12 |
const cloudscraper = require('cloudscraper')
|
| 13 |
+
const acrcloud = require("acrcloud");
|
| 14 |
const { File } = require('megajs')
|
| 15 |
const { BingChat } = require("bing-chat-cjs-rnz");
|
| 16 |
let fetch;
|
|
|
|
| 90 |
async function acrCloud(buffer) {
|
| 91 |
let { mime } = await (await import('file-type')).fileTypeFromBuffer(buffer);
|
| 92 |
if (/audio|video/.test(mime)) {
|
| 93 |
+
const wow = new acrcloud({
|
| 94 |
host: "identify-ap-southeast-1.acrcloud.com",
|
| 95 |
access_key: "b1cc283b4fb72483ebb6ea9c53512331",
|
| 96 |
access_secret: "xyqJGTZRTrUotaraHEjji00WBClx7RpWozywdANq"
|