mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 08:09:19 +00:00
🌈 style: import清洁
This commit is contained in:
parent
a94dc34e40
commit
b8d6a6c031
@ -15,7 +15,6 @@ import { parseUrl, parseM3u8, downloadM3u8Videos, mergeAcFileToMp4 } from "../ut
|
||||
import { transMap, douyinTypeMap, TEN_THOUSAND } from "../utils/constant.js";
|
||||
import { getIdVideo } from "../utils/common.js";
|
||||
import config from "../model/index.js";
|
||||
import { resolve } from "patch-package/dist/path.js";
|
||||
|
||||
export class tools extends plugin {
|
||||
constructor() {
|
||||
@ -843,7 +842,7 @@ export class tools extends plugin {
|
||||
"Mozilla/5.0 (Linux; Android 5.0; SM-G900P Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.25 Mobile Safari/537.36",
|
||||
},
|
||||
responseType: "stream",
|
||||
redirect: redirect || 'manual'
|
||||
redirect: redirect
|
||||
})
|
||||
.then(res => {
|
||||
const path = `${this.defaultPath}${this.e.group_id || this.e.user_id}/temp.mp3`
|
||||
|
Loading…
x
Reference in New Issue
Block a user