import Douyin from '../bot/Douyin.mjs'; (async () => { const heroCloudServer = 'ws://192.168.3.13:1818'; const douyin = new Douyin(heroCloudServer); const url = 'https://v.douyin.com/iJr1NsJJ/'; console.log('请求中: %s ...', url); const data = await douyin.scrap(url); console.log("解析结果:\n%s", JSON.stringify(data)); })();