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
380 B
10 lines
380 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('抖音网址 %s 解析结果: %s', url, JSON.stringify(data)); |
|
})();
|
|
|