Updated unprint for improved browser clean-up.
This commit is contained in:
parent
69d2550a85
commit
42330a7d70
File diff suppressed because it is too large
Load Diff
|
|
@ -129,6 +129,7 @@
|
||||||
"mysql": "^2.18.1",
|
"mysql": "^2.18.1",
|
||||||
"nanoid": "^3.3.7",
|
"nanoid": "^3.3.7",
|
||||||
"node-fetch": "^3.3.2",
|
"node-fetch": "^3.3.2",
|
||||||
|
"npm": "^11.7.0",
|
||||||
"object-merge-advanced": "^12.1.0",
|
"object-merge-advanced": "^12.1.0",
|
||||||
"object.omit": "^3.0.0",
|
"object.omit": "^3.0.0",
|
||||||
"pg": "^8.11.3",
|
"pg": "^8.11.3",
|
||||||
|
|
@ -151,7 +152,7 @@
|
||||||
"tunnel": "0.0.6",
|
"tunnel": "0.0.6",
|
||||||
"ua-parser-js": "^1.0.37",
|
"ua-parser-js": "^1.0.37",
|
||||||
"undici": "^5.28.1",
|
"undici": "^5.28.1",
|
||||||
"unprint": "^0.17.8",
|
"unprint": "^0.17.9",
|
||||||
"url-pattern": "^1.0.3",
|
"url-pattern": "^1.0.3",
|
||||||
"v-tooltip": "^2.1.3",
|
"v-tooltip": "^2.1.3",
|
||||||
"video.js": "^8.6.1",
|
"video.js": "^8.6.1",
|
||||||
|
|
|
||||||
|
|
@ -52,7 +52,7 @@ async function fetchLatest(channel, page = 1) {
|
||||||
const res = await unprint.browserRequest(url, {
|
const res = await unprint.browserRequest(url, {
|
||||||
selectAll: '.site-list .scene-item, .panel-body',
|
selectAll: '.site-list .scene-item, .panel-body',
|
||||||
async control(ctx) {
|
async control(ctx) {
|
||||||
await ctx.locator('.site-list').hover({ trial: true, timeout: 10000 }); // wait for trailer to initialize
|
await ctx.locator('.site-list').hover({ trial: true, timeout: 10000 }); // wait for overview to initialize
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -156,7 +156,7 @@ async function fetchProfile({ slug }, { channel }) {
|
||||||
},
|
},
|
||||||
select: '.bio-info, .performer-details',
|
select: '.bio-info, .performer-details',
|
||||||
async control(ctx) {
|
async control(ctx) {
|
||||||
await ctx.locator('.bio-info').hover({ trial: true, timeout: 30000 }); // wait for trailer to initialize
|
await ctx.locator('.bio-info').hover({ trial: true, timeout: 30000 }); // wait for bio to initialize
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue