You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
359 B
10 lines
359 B
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)); |
|
})();
|
|
|