diff --git a/bot/Douyin.mjs b/bot/Douyin.mjs index 85462a4..c060095 100644 --- a/bot/Douyin.mjs +++ b/bot/Douyin.mjs @@ -64,9 +64,6 @@ class Douyin extends HeroBot { data.cover = common.getAbsoluteUrl(data.cover); const response = await hero.goto(data.cover); - //等待所有内容加载完成 - const tab_img = await hero.activeTab; - await tab_img.waitForLoad('AllContentLoaded', {timeoutMs: configs.heroTabOptions.timeoutMs}); const imgBuffer = await response.buffer; //console.log('Cover image fetch done', imgBuffer.toString('base64')); if (imgBuffer) {