mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix: 修复ins部分问题
This commit is contained in:
parent
2c08513d93
commit
fa09519b34
@ -885,12 +885,7 @@ export class tools extends plugin {
|
||||
.catch(err => reject(err));
|
||||
});
|
||||
};
|
||||
await fetch(API, {
|
||||
timeout: 10000,
|
||||
agent: new HttpProxyAgent(this.myProxy),
|
||||
redirect: "follow",
|
||||
follow: 10,
|
||||
}).then(async resp => {
|
||||
await fetch(API).then(async resp => {
|
||||
const html = await resp.text();
|
||||
const images = html.match(/<div class=\"swiper-slide.*?\">/g);
|
||||
if (!_.isNull(images)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user