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));
|
.catch(err => reject(err));
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
await fetch(API, {
|
await fetch(API).then(async resp => {
|
||||||
timeout: 10000,
|
|
||||||
agent: new HttpProxyAgent(this.myProxy),
|
|
||||||
redirect: "follow",
|
|
||||||
follow: 10,
|
|
||||||
}).then(async resp => {
|
|
||||||
const html = await resp.text();
|
const html = await resp.text();
|
||||||
const images = html.match(/<div class=\"swiper-slide.*?\">/g);
|
const images = html.match(/<div class=\"swiper-slide.*?\">/g);
|
||||||
if (!_.isNull(images)) {
|
if (!_.isNull(images)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user