save
This commit is contained in:
parent
8fe2083bb5
commit
39802f1bd9
@ -3,6 +3,8 @@
|
||||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<link rel="icon" href="/favicon.ico"/>
|
||||
<meta name=referrer content=no-referrer>
|
||||
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0,user-scalable=no"
|
||||
id="viewport"/>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,5 @@
|
||||
import fs from 'fs'
|
||||
import request from 'request'
|
||||
import {nanoid} from 'nanoid'
|
||||
import {users} from './user/data.js'
|
||||
|
||||
let read = './post/data/'
|
||||
let save = "./format/";
|
||||
@ -18,7 +17,10 @@ function formatDict(dir, name) {
|
||||
let filePath = dir + name
|
||||
let saveFileStr = fs.readFileSync(filePath, "utf8");
|
||||
let inputData = JSON.parse(saveFileStr);
|
||||
map.push(inputData)
|
||||
map.push({
|
||||
userId: name,
|
||||
list: inputData
|
||||
})
|
||||
if (max < inputData.length) max = inputData.length
|
||||
}
|
||||
|
||||
@ -26,13 +28,21 @@ let newList = []
|
||||
// max = 5
|
||||
for (let i = 0; i < max; i++) {
|
||||
map.map(v => {
|
||||
if (v.length > i) {
|
||||
newList.push(v[i])
|
||||
if (v.list.length > i) {
|
||||
let data = v.list[i]
|
||||
newList.push(data)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
// console.log(newList)
|
||||
|
||||
fs.writeFileSync('./posts5.json', JSON.stringify(newList.slice(0, 5), null, 2));
|
||||
fs.writeFileSync('./posts.json', JSON.stringify(newList.slice(5), null, 2));
|
||||
let data = newList.slice(0, 6)
|
||||
data.map(v => {
|
||||
let u = users.find(a => a.uid == v.author_user_id)
|
||||
if (u) {
|
||||
v.author = u
|
||||
}
|
||||
})
|
||||
fs.writeFileSync('./posts6.json', JSON.stringify(data, null, 2));
|
||||
fs.writeFileSync('./posts.json', JSON.stringify(newList.slice(6), null, 2));
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
* cover_url[0].url_list[0] 背景cover
|
||||
* */
|
||||
|
||||
const users = [
|
||||
export const users = [
|
||||
{
|
||||
"avatar_168x168": {
|
||||
"height": 720,
|
||||
|
||||
@ -1,162 +1,4 @@
|
||||
[
|
||||
{
|
||||
"aweme_id": "7260749400622894336",
|
||||
"desc": "你说爱像云 要自在漂浮才美丽",
|
||||
"create_time": 1690524964,
|
||||
"music": {
|
||||
"id": 7123453673090321000,
|
||||
"title": "禁盗用",
|
||||
"author": "LoveW_",
|
||||
"cover_medium": {
|
||||
"uri": "720x720/aweme-avatar/tos-cn-avt-0015_5374859713808b0007ba979b1f18171c",
|
||||
"url_list": [
|
||||
"https://p3-pc.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_5374859713808b0007ba979b1f18171c.jpeg?from=116350172"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"cover_thumb": {
|
||||
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_5374859713808b0007ba979b1f18171c",
|
||||
"url_list": [
|
||||
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_5374859713808b0007ba979b1f18171c.jpeg?from=116350172"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"play_url": {
|
||||
"uri": "https://sf5-hl-cdn-tos.douyinstatic.com/obj/ies-music/7123453672335690532.mp3",
|
||||
"url_list": [
|
||||
"https://sf5-hl-cdn-tos.douyinstatic.com/obj/ies-music/7123453672335690532.mp3",
|
||||
"https://sf3-cdn-tos.douyinstatic.com/obj/ies-music/7123453672335690532.mp3"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720,
|
||||
"url_key": "7123453673090321159"
|
||||
},
|
||||
"duration": 17,
|
||||
"user_count": 0,
|
||||
"owner_id": "1711265034548715",
|
||||
"owner_nickname": "LoveW_",
|
||||
"is_original": false
|
||||
},
|
||||
"video": {
|
||||
"play_addr": {
|
||||
"uri": "v0d00fg10000cj1lq4jc77u0ng6s1gt0",
|
||||
"url_list": [
|
||||
"https://www.douyin.com/aweme/v1/play/?video_id=v0d00fg10000cj1lq4jc77u0ng6s1gt0&line=0&file_id=bed51c00899b458cbc5d8280147c22a1&sign=7749aec7bd62a3760065f60e40fc1867&is_play_url=1&source=PackSourceEnum_PUBLISH"
|
||||
],
|
||||
"width": 1080,
|
||||
"height": 1920,
|
||||
"url_key": "v0d00fg10000cj1lq4jc77u0ng6s1gt0_h264_1080p_2053262",
|
||||
"data_size": 3480280,
|
||||
"file_hash": "7749aec7bd62a3760065f60e40fc1867",
|
||||
"file_cs": "c:0-16104-634c|d:0-1740139-1d83,1740140-3480279-e5a6|a:v0d00fg10000cj1lq4jc77u0ng6s1gt0"
|
||||
},
|
||||
"cover": {
|
||||
"uri": "tos-cn-i-0813/oYVDeaFZyENAAAAKXCYfxD6hI4zADNAURgtySl",
|
||||
"url_list": [
|
||||
"jwWCPZVTIA4IKM-8WipLF.png"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"height": 3840,
|
||||
"width": 2160,
|
||||
"ratio": "1080p",
|
||||
"use_static_cover": true,
|
||||
"duration": 13560
|
||||
},
|
||||
"share_url": "https://www.iesdouyin.com/share/video/7260749400622894336/?region=CN&mid=7123453673090321159&u_code=13kgm680k&did=MS4wLjABAAAAiOgYyZm8XbWZMr5o3OvhR-TEOuNygb_hQOwkie-VXJpDYaR4vZfpiIGBfAWKCFHB&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&titleType=title&share_sign=LF.QuEh0GZk3quR7m.I3KpyKn2XyfNLNYHzuQDgWLpc-&share_version=170400&ts=1710491656&from_aid=6383&from_ssr=1",
|
||||
"statistics": {
|
||||
"admire_count": 0,
|
||||
"comment_count": 21582,
|
||||
"digg_count": 1246636,
|
||||
"collect_count": 64460,
|
||||
"play_count": 0,
|
||||
"share_count": 172803
|
||||
},
|
||||
"status": {
|
||||
"listen_video_status": 0,
|
||||
"is_delete": false,
|
||||
"allow_share": true,
|
||||
"is_prohibited": false,
|
||||
"in_reviewing": false,
|
||||
"part_see": 0,
|
||||
"private_status": 0,
|
||||
"review_result": {
|
||||
"review_status": 0
|
||||
}
|
||||
},
|
||||
"text_extra": [],
|
||||
"is_top": 1,
|
||||
"share_info": {
|
||||
"share_url": "https://www.iesdouyin.com/share/video/7260749400622894336/?region=CN&mid=7123453673090321159&u_code=13kgm680k&did=MS4wLjABAAAAiOgYyZm8XbWZMr5o3OvhR-TEOuNygb_hQOwkie-VXJpDYaR4vZfpiIGBfAWKCFHB&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&titleType=title&share_sign=LF.QuEh0GZk3quR7m.I3KpyKn2XyfNLNYHzuQDgWLpc-&share_version=170400&ts=1710491656&from_aid=6383&from_ssr=1",
|
||||
"share_link_desc": "7.46 04/12 Duf:/ D@h.ba 你说爱像云 要自在漂浮才美丽 %s 复制此链接,打开Dou音搜索,直接观看视频!"
|
||||
},
|
||||
"duration": 13560,
|
||||
"image_infos": null,
|
||||
"risk_infos": {
|
||||
"vote": false,
|
||||
"warn": false,
|
||||
"risk_sink": false,
|
||||
"type": 0,
|
||||
"content": ""
|
||||
},
|
||||
"position": null,
|
||||
"author_user_id": 59054327754,
|
||||
"prevent_download": false,
|
||||
"long_video": null,
|
||||
"aweme_control": {
|
||||
"can_forward": true,
|
||||
"can_share": true,
|
||||
"can_comment": true,
|
||||
"can_show_comment": true
|
||||
},
|
||||
"images": null,
|
||||
"suggest_words": {
|
||||
"suggest_words": [
|
||||
{
|
||||
"words": [
|
||||
{
|
||||
"word": "一只顾",
|
||||
"word_id": "6658760941217256711",
|
||||
"info": "{\"qrec_for_search\":\"{\\\"video_ecom\\\":\\\"1\\\"}\"}"
|
||||
}
|
||||
],
|
||||
"scene": "comment_top_rec",
|
||||
"icon_url": "",
|
||||
"hint_text": "大家都在搜:",
|
||||
"extra_info": "{}"
|
||||
},
|
||||
{
|
||||
"words": [
|
||||
{
|
||||
"word": "香秀早期照片护士",
|
||||
"word_id": "6999224590481708302",
|
||||
"info": "{\"qrec_for_search\":\"{\\\"video_ecom\\\":\\\"1\\\"}\"}"
|
||||
}
|
||||
],
|
||||
"scene": "feed_bottom_rec",
|
||||
"icon_url": "",
|
||||
"hint_text": "相关搜索",
|
||||
"extra_info": "{}"
|
||||
},
|
||||
{
|
||||
"words": [
|
||||
{
|
||||
"word": "一只顾",
|
||||
"word_id": "6658760941217256711",
|
||||
"info": "{\"qrec_for_search\":\"{\\\"video_ecom\\\":\\\"1\\\"}\"}"
|
||||
}
|
||||
],
|
||||
"scene": "detail_inbox_rex",
|
||||
"icon_url": "",
|
||||
"hint_text": "",
|
||||
"extra_info": "{}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"aweme_id": "7161000281575148800",
|
||||
"desc": "这次把全部答案告诉你们#原地猫步",
|
||||
|
||||
@ -1,738 +0,0 @@
|
||||
[
|
||||
{
|
||||
"aweme_id": "7293100687989148943",
|
||||
"desc": "",
|
||||
"create_time": 1698057333,
|
||||
"music": {
|
||||
"id": 7293100719706607000,
|
||||
"title": "@条子创作的原声",
|
||||
"author": "条子",
|
||||
"cover_medium": {
|
||||
"uri": "720x720/aweme-avatar/tos-cn-avt-0015_75c5ef8973e1d665252306ea58f7d10b",
|
||||
"url_list": [
|
||||
"https://p3-pc.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_75c5ef8973e1d665252306ea58f7d10b.jpeg?from=116350172"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"cover_thumb": {
|
||||
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_75c5ef8973e1d665252306ea58f7d10b",
|
||||
"url_list": [
|
||||
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_75c5ef8973e1d665252306ea58f7d10b.jpeg?from=116350172"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"play_url": {
|
||||
"uri": "https://sf5-hl-cdn-tos.douyinstatic.com/obj/ies-music/7293100718108855066.mp3",
|
||||
"url_list": [
|
||||
"https://sf5-hl-cdn-tos.douyinstatic.com/obj/ies-music/7293100718108855066.mp3",
|
||||
"https://sf3-cdn-tos.douyinstatic.com/obj/ies-music/7293100718108855066.mp3"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720,
|
||||
"url_key": "7293100719706606362"
|
||||
},
|
||||
"duration": 7,
|
||||
"user_count": 0,
|
||||
"owner_id": "83160533866",
|
||||
"owner_nickname": "条子",
|
||||
"is_original": false
|
||||
},
|
||||
"video": {
|
||||
"play_addr": {
|
||||
"uri": "v0d00fg10000ckr4oi3c77u3000mqn80",
|
||||
"url_list": [
|
||||
"https://www.douyin.com/aweme/v1/play/?video_id=v0d00fg10000ckr4oi3c77u3000mqn80&line=0&file_id=b61dffe646234c2d878ad146ff3b0f84&sign=ee67beedc41d34486373772d1f75e814&is_play_url=1&source=PackSourceEnum_PUBLISH"
|
||||
],
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"url_key": "v0d00fg10000ckr4oi3c77u3000mqn80_h264_1080p_6334292",
|
||||
"data_size": 5624852,
|
||||
"file_hash": "ee67beedc41d34486373772d1f75e814",
|
||||
"file_cs": "c:0-7318-308e|d:0-2812425-a706,2812426-5624851-2694|a:v0d00fg10000ckr4oi3c77u3000mqn80"
|
||||
},
|
||||
"cover": {
|
||||
"uri": "tos-cn-p-0015/o4zA2HNYFFXyyfbAnEDBAkNQhmIATEAgetYaSq",
|
||||
"url_list": [
|
||||
"sZtkmLJnK30efnC-WgFMn.png"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"height": 1080,
|
||||
"width": 1920,
|
||||
"ratio": "1080p",
|
||||
"duration": 7104,
|
||||
"horizontal_type": 1
|
||||
},
|
||||
"share_url": "https://www.iesdouyin.com/share/video/7293100687989148943/?region=CN&mid=7293100719706606362&u_code=13kgm680k&did=MS4wLjABAAAAiOgYyZm8XbWZMr5o3OvhR-TEOuNygb_hQOwkie-VXJpDYaR4vZfpiIGBfAWKCFHB&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&titleType=&share_sign=_4aJPKwtrZCzJ3yBQv1bvbEo_Kmz_zQNYja43cXi.48-&share_version=170400&ts=1710489511&from_aid=6383&from_ssr=1",
|
||||
"statistics": {
|
||||
"admire_count": 11,
|
||||
"comment_count": 14468,
|
||||
"digg_count": 361226,
|
||||
"collect_count": 39090,
|
||||
"play_count": 0,
|
||||
"share_count": 304604
|
||||
},
|
||||
"status": {
|
||||
"listen_video_status": 0,
|
||||
"is_delete": false,
|
||||
"allow_share": true,
|
||||
"is_prohibited": false,
|
||||
"in_reviewing": false,
|
||||
"part_see": 0,
|
||||
"private_status": 0,
|
||||
"review_result": {
|
||||
"review_status": 0
|
||||
}
|
||||
},
|
||||
"text_extra": [],
|
||||
"is_top": 1,
|
||||
"share_info": {
|
||||
"share_url": "https://www.iesdouyin.com/share/video/7293100687989148943/?region=CN&mid=7293100719706606362&u_code=13kgm680k&did=MS4wLjABAAAAiOgYyZm8XbWZMr5o3OvhR-TEOuNygb_hQOwkie-VXJpDYaR4vZfpiIGBfAWKCFHB&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&titleType=&share_sign=_4aJPKwtrZCzJ3yBQv1bvbEo_Kmz_zQNYja43cXi.48-&share_version=170400&ts=1710489511&from_aid=6383&from_ssr=1",
|
||||
"share_link_desc": "2.87 GiP:/ q@R.kc 07/09 %s 复制此链接,打开Dou音搜索,直接观看视频!"
|
||||
},
|
||||
"duration": 7104,
|
||||
"image_infos": null,
|
||||
"risk_infos": {
|
||||
"vote": false,
|
||||
"warn": false,
|
||||
"risk_sink": false,
|
||||
"type": 0,
|
||||
"content": ""
|
||||
},
|
||||
"position": null,
|
||||
"author_user_id": 83160533866,
|
||||
"prevent_download": false,
|
||||
"long_video": null,
|
||||
"aweme_control": {
|
||||
"can_forward": true,
|
||||
"can_share": true,
|
||||
"can_comment": true,
|
||||
"can_show_comment": true
|
||||
},
|
||||
"images": null
|
||||
},
|
||||
{
|
||||
"aweme_id": "7128686458763889956",
|
||||
"desc": "你们爱看的又来了!《黑白战袍 双倍快乐》#战袍 #丢钱摇摆舞",
|
||||
"create_time": 1659776662,
|
||||
"music": {
|
||||
"id": 7114247812346760000,
|
||||
"title": "@E.T外星人街舞创作的原声",
|
||||
"author": "E.T外星人街舞",
|
||||
"cover_medium": {
|
||||
"uri": "720x720/aweme-avatar/mosaic-legacy_3156d000cadb4a328bd3c",
|
||||
"url_list": [
|
||||
"https://p3-pc.douyinpic.com/aweme/720x720/aweme-avatar/mosaic-legacy_3156d000cadb4a328bd3c.jpeg?from=116350172"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"cover_thumb": {
|
||||
"uri": "100x100/aweme-avatar/mosaic-legacy_3156d000cadb4a328bd3c",
|
||||
"url_list": [
|
||||
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/mosaic-legacy_3156d000cadb4a328bd3c.jpeg?from=116350172"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"play_url": {
|
||||
"uri": "https://sf5-hl-cdn-tos.douyinstatic.com/obj/ies-music/7114247810710604558.mp3",
|
||||
"url_list": [
|
||||
"https://sf5-hl-cdn-tos.douyinstatic.com/obj/ies-music/7114247810710604558.mp3",
|
||||
"https://sf6-cdn-tos.douyinstatic.com/obj/ies-music/7114247810710604558.mp3"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720,
|
||||
"url_key": "7114247812346759973"
|
||||
},
|
||||
"duration": 7,
|
||||
"user_count": 0,
|
||||
"owner_id": "58921834409",
|
||||
"owner_nickname": "E.T外星人街舞",
|
||||
"is_original": false
|
||||
},
|
||||
"video": {
|
||||
"play_addr": {
|
||||
"uri": "v0200fg10000cbn2sfbc77u0vpvt4ei0",
|
||||
"url_list": [
|
||||
"https://www.douyin.com/aweme/v1/play/?video_id=v0200fg10000cbn2sfbc77u0vpvt4ei0&line=0&file_id=692d7d4f382f40e8a571a40e35f0c887&sign=6acbd42bf63d4a70836d80e20afe60f7&is_play_url=1&source=PackSourceEnum_PUBLISH"
|
||||
],
|
||||
"width": 1080,
|
||||
"height": 1920,
|
||||
"url_key": "v0200fg10000cbn2sfbc77u0vpvt4ei0_h264_1080p_1968470",
|
||||
"data_size": 5193317,
|
||||
"file_hash": "6acbd42bf63d4a70836d80e20afe60f7",
|
||||
"file_cs": "c:0-24097-2b3e|d:0-2596657-0d26,2596658-5193316-23be|a:v0200fg10000cbn2sfbc77u0vpvt4ei0"
|
||||
},
|
||||
"cover": {
|
||||
"uri": "tos-cn-p-0015/254cc2f4142c490697a3cedd195283ab_1659776667",
|
||||
"url_list": [
|
||||
"FL8H8KGmqTyGhOAFLQp14.png"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"height": 1920,
|
||||
"width": 1080,
|
||||
"ratio": "1080p",
|
||||
"use_static_cover": false,
|
||||
"duration": 21106
|
||||
},
|
||||
"share_url": "https://www.iesdouyin.com/share/video/7128686458763889956/?region=CN&mid=7114247812346759973&u_code=13kgm680k&did=MS4wLjABAAAAiOgYyZm8XbWZMr5o3OvhR-TEOuNygb_hQOwkie-VXJpDYaR4vZfpiIGBfAWKCFHB&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&titleType=title&share_sign=SELVg8Wyd9H7KERrJQG8kfe1Npi3rWJOtIvFaWXF4wk-&share_version=170400&ts=1710488945&from_aid=6383&from_ssr=1",
|
||||
"statistics": {
|
||||
"admire_count": 3,
|
||||
"comment_count": 3324,
|
||||
"digg_count": 213063,
|
||||
"collect_count": 19801,
|
||||
"play_count": 0,
|
||||
"share_count": 39050
|
||||
},
|
||||
"status": {
|
||||
"listen_video_status": 0,
|
||||
"is_delete": false,
|
||||
"allow_share": true,
|
||||
"is_prohibited": false,
|
||||
"in_reviewing": false,
|
||||
"part_see": 0,
|
||||
"private_status": 0,
|
||||
"review_result": {
|
||||
"review_status": 0
|
||||
}
|
||||
},
|
||||
"text_extra": [
|
||||
{
|
||||
"start": 21,
|
||||
"end": 24,
|
||||
"type": 1,
|
||||
"hashtag_name": "战袍",
|
||||
"hashtag_id": "1605750455572509",
|
||||
"is_commerce": false,
|
||||
"caption_start": 0,
|
||||
"caption_end": 0
|
||||
},
|
||||
{
|
||||
"start": 25,
|
||||
"end": 31,
|
||||
"type": 1,
|
||||
"hashtag_name": "丢钱摇摆舞",
|
||||
"hashtag_id": "1737393107869707",
|
||||
"is_commerce": false,
|
||||
"caption_start": 0,
|
||||
"caption_end": 0
|
||||
}
|
||||
],
|
||||
"is_top": 1,
|
||||
"share_info": {
|
||||
"share_url": "https://www.iesdouyin.com/share/video/7128686458763889956/?region=CN&mid=7114247812346759973&u_code=13kgm680k&did=MS4wLjABAAAAiOgYyZm8XbWZMr5o3OvhR-TEOuNygb_hQOwkie-VXJpDYaR4vZfpiIGBfAWKCFHB&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&titleType=title&share_sign=SELVg8Wyd9H7KERrJQG8kfe1Npi3rWJOtIvFaWXF4wk-&share_version=170400&ts=1710488945&from_aid=6383&from_ssr=1",
|
||||
"share_link_desc": "9.99 TYZ:/ P@k.pq 01/04 你们爱看的又来了!《黑白战袍 双倍快乐》# 战袍 # 丢钱摇摆舞 %s 复制此链接,打开Dou音搜索,直接观看视频!"
|
||||
},
|
||||
"duration": 21106,
|
||||
"image_infos": null,
|
||||
"risk_infos": {
|
||||
"vote": false,
|
||||
"warn": false,
|
||||
"risk_sink": false,
|
||||
"type": 0,
|
||||
"content": ""
|
||||
},
|
||||
"position": null,
|
||||
"author_user_id": 2739632844317827,
|
||||
"prevent_download": false,
|
||||
"long_video": null,
|
||||
"aweme_control": {
|
||||
"can_forward": true,
|
||||
"can_share": true,
|
||||
"can_comment": true,
|
||||
"can_show_comment": true
|
||||
},
|
||||
"images": null,
|
||||
"suggest_words": {
|
||||
"suggest_words": [
|
||||
{
|
||||
"words": [
|
||||
{
|
||||
"word": "白色战衣",
|
||||
"word_id": "6614728916642829575",
|
||||
"info": "{\"qrec_for_search\":\"{\\\"video_ecom\\\":\\\"1\\\",\\\"query_ecom\\\":\\\"1\\\"}\"}"
|
||||
}
|
||||
],
|
||||
"scene": "comment_top_rec",
|
||||
"icon_url": "",
|
||||
"hint_text": "大家都在搜:",
|
||||
"extra_info": "{}"
|
||||
},
|
||||
{
|
||||
"words": [
|
||||
{
|
||||
"word": "白色战衣",
|
||||
"word_id": "6614728916642829575",
|
||||
"info": "{\"qrec_for_search\":\"{\\\"video_ecom\\\":\\\"1\\\",\\\"query_ecom\\\":\\\"1\\\"}\"}"
|
||||
}
|
||||
],
|
||||
"scene": "detail_inbox_rex",
|
||||
"icon_url": "",
|
||||
"hint_text": "",
|
||||
"extra_info": "{}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"aweme_id": "6923214072347512068",
|
||||
"desc": "仿不来观音就仿个敦煌飞天吧~#有何不敢见观音 #敦煌壁画仿妆绝了",
|
||||
"create_time": 1611936456,
|
||||
"music": {
|
||||
"id": 6832584550674091000,
|
||||
"title": "@编曲太难了 - 任柯创作的原声",
|
||||
"author": "编曲太难了 - 任柯",
|
||||
"cover_medium": {
|
||||
"uri": "720x720/aweme-avatar/mosaic-legacy_315090004b1df1c43716c",
|
||||
"url_list": [
|
||||
"https://p3-pc.douyinpic.com/aweme/720x720/aweme-avatar/mosaic-legacy_315090004b1df1c43716c.jpeg?from=116350172"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"cover_thumb": {
|
||||
"uri": "100x100/aweme-avatar/mosaic-legacy_315090004b1df1c43716c",
|
||||
"url_list": [
|
||||
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/mosaic-legacy_315090004b1df1c43716c.jpeg?from=116350172"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"play_url": {
|
||||
"uri": "https://sf6-cdn-tos.douyinstatic.com/obj/ies-music/de298387187bc97d819bc4e07ec6e5d3.mp3",
|
||||
"url_list": [
|
||||
"https://sf6-cdn-tos.douyinstatic.com/obj/ies-music/de298387187bc97d819bc4e07ec6e5d3.mp3",
|
||||
"https://sf5-hl-cdn-tos.douyinstatic.com/obj/ies-music/de298387187bc97d819bc4e07ec6e5d3.mp3"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720,
|
||||
"url_key": "6832584550674090759"
|
||||
},
|
||||
"duration": 19,
|
||||
"user_count": 0,
|
||||
"owner_id": "64390442829",
|
||||
"owner_nickname": "编曲太难了 - 任柯",
|
||||
"is_original": false
|
||||
},
|
||||
"video": {
|
||||
"play_addr": {
|
||||
"uri": "v0300fe30000c0a35fnsml2qmkctkcsg",
|
||||
"url_list": [
|
||||
"https://www.douyin.com/aweme/v1/play/?video_id=v0300fe30000c0a35fnsml2qmkctkcsg&line=0&file_id=27fe563493c447dca8bcd98067b2a9b9&sign=bb8f5c705f6466d41de94434e182013e&is_play_url=1&source=PackSourceEnum_PUBLISH"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 1280,
|
||||
"url_key": "v0300fe30000c0a35fnsml2qmkctkcsg_h264_720p_1262855",
|
||||
"data_size": 1597986,
|
||||
"file_hash": "bb8f5c705f6466d41de94434e182013e",
|
||||
"file_cs": "c:0-12314-6386|d:0-798992-b9db,798993-1597985-5335"
|
||||
},
|
||||
"cover": {
|
||||
"uri": "tos-cn-p-0015/9975a3ff7baf4c4391da36112920574a",
|
||||
"url_list": [
|
||||
"zE-I6gDNlO7OyVRN1Rl7T.png"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"height": 1920,
|
||||
"width": 1080,
|
||||
"ratio": "720p",
|
||||
"use_static_cover": false,
|
||||
"duration": 10123
|
||||
},
|
||||
"share_url": "https://www.iesdouyin.com/share/video/6923214072347512068/?region=CN&mid=6832584550674090759&u_code=13kgm680k&did=MS4wLjABAAAAiOgYyZm8XbWZMr5o3OvhR-TEOuNygb_hQOwkie-VXJpDYaR4vZfpiIGBfAWKCFHB&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&titleType=title&share_sign=KkdpNFCQ6Y6dVUVYYBPJb1bwUr53Ndkd08.saJx4kro-&share_version=170400&ts=1710492054&from_aid=6383&from_ssr=1",
|
||||
"statistics": {
|
||||
"admire_count": 0,
|
||||
"comment_count": 108509,
|
||||
"digg_count": 3664300,
|
||||
"collect_count": 113816,
|
||||
"play_count": 0,
|
||||
"share_count": 116835
|
||||
},
|
||||
"status": {
|
||||
"listen_video_status": 0,
|
||||
"is_delete": false,
|
||||
"allow_share": true,
|
||||
"is_prohibited": false,
|
||||
"in_reviewing": false,
|
||||
"part_see": 0,
|
||||
"private_status": 0,
|
||||
"review_result": {
|
||||
"review_status": 0
|
||||
}
|
||||
},
|
||||
"text_extra": [
|
||||
{
|
||||
"start": 14,
|
||||
"end": 22,
|
||||
"type": 1,
|
||||
"hashtag_name": "有何不敢见观音",
|
||||
"hashtag_id": "1689770054408232",
|
||||
"is_commerce": false,
|
||||
"caption_start": 0,
|
||||
"caption_end": 0
|
||||
},
|
||||
{
|
||||
"start": 23,
|
||||
"end": 32,
|
||||
"type": 1,
|
||||
"hashtag_name": "敦煌壁画仿妆绝了",
|
||||
"hashtag_id": "1714108974080003",
|
||||
"is_commerce": false,
|
||||
"caption_start": 0,
|
||||
"caption_end": 0
|
||||
}
|
||||
],
|
||||
"is_top": 1,
|
||||
"share_info": {
|
||||
"share_url": "https://www.iesdouyin.com/share/video/6923214072347512068/?region=CN&mid=6832584550674090759&u_code=13kgm680k&did=MS4wLjABAAAAiOgYyZm8XbWZMr5o3OvhR-TEOuNygb_hQOwkie-VXJpDYaR4vZfpiIGBfAWKCFHB&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&titleType=title&share_sign=KkdpNFCQ6Y6dVUVYYBPJb1bwUr53Ndkd08.saJx4kro-&share_version=170400&ts=1710492054&from_aid=6383&from_ssr=1",
|
||||
"share_link_desc": "9.20 ZZM:/ 03/10 x@F.hO 仿不来观音就仿个敦煌飞天吧~# 有何不敢见观音 # 敦煌壁画仿妆绝了 %s 复制此链接,打开Dou音搜索,直接观看视频!"
|
||||
},
|
||||
"duration": 10123,
|
||||
"image_infos": null,
|
||||
"risk_infos": {
|
||||
"vote": false,
|
||||
"warn": false,
|
||||
"risk_sink": false,
|
||||
"type": 0,
|
||||
"content": ""
|
||||
},
|
||||
"position": null,
|
||||
"author_user_id": 60043717321,
|
||||
"prevent_download": false,
|
||||
"long_video": null,
|
||||
"aweme_control": {
|
||||
"can_forward": true,
|
||||
"can_share": true,
|
||||
"can_comment": true,
|
||||
"can_show_comment": true
|
||||
},
|
||||
"images": null,
|
||||
"suggest_words": {
|
||||
"suggest_words": [
|
||||
{
|
||||
"words": [
|
||||
{
|
||||
"word": "我是mc水观音",
|
||||
"word_id": "6595861167791412488",
|
||||
"info": "{\"qrec_for_search\":\"{}\"}"
|
||||
}
|
||||
],
|
||||
"scene": "detail_inbox_rex",
|
||||
"icon_url": "",
|
||||
"hint_text": "",
|
||||
"extra_info": "{}"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"aweme_id": "7005490661592026405",
|
||||
"desc": "清凉爽口,凉菜界知名选手——拍黄瓜 #抖音美食创作人 ",
|
||||
"create_time": 1631092941,
|
||||
"music": {
|
||||
"id": 7005490868798918000,
|
||||
"title": "@李子柒创作的原声",
|
||||
"author": "李子柒",
|
||||
"cover_medium": {
|
||||
"uri": "720x720/aweme-avatar/mosaic-legacy_330b002fd56a93e8b6f1",
|
||||
"url_list": [
|
||||
"https://p3-pc.douyinpic.com/aweme/720x720/aweme-avatar/mosaic-legacy_330b002fd56a93e8b6f1.jpeg?from=116350172"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"cover_thumb": {
|
||||
"uri": "100x100/aweme-avatar/mosaic-legacy_330b002fd56a93e8b6f1",
|
||||
"url_list": [
|
||||
"https://p3-pc.douyinpic.com/aweme/100x100/aweme-avatar/mosaic-legacy_330b002fd56a93e8b6f1.jpeg?from=116350172"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"play_url": {
|
||||
"uri": "https://sf5-hl-cdn-tos.douyinstatic.com/obj/ies-music/7005490870229338911.mp3",
|
||||
"url_list": [
|
||||
"https://sf5-hl-cdn-tos.douyinstatic.com/obj/ies-music/7005490870229338911.mp3",
|
||||
"https://sf3-cdn-tos.douyinstatic.com/obj/ies-music/7005490870229338911.mp3"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720,
|
||||
"url_key": "7005490868798917390"
|
||||
},
|
||||
"duration": 56,
|
||||
"user_count": 0,
|
||||
"owner_id": "68310389333",
|
||||
"owner_nickname": "李子柒",
|
||||
"is_original": false
|
||||
},
|
||||
"video": {
|
||||
"play_addr": {
|
||||
"uri": "v0300fg10000c4s7r3rc77u313isbq90",
|
||||
"url_list": [
|
||||
"https://www.douyin.com/aweme/v1/play/?video_id=v0300fg10000c4s7r3rc77u313isbq90&line=0&file_id=79a7251ebd49450e87dff8c6c2045193&sign=bfbfd045b09a5fffe2175c946ae37716&is_play_url=1&source=PackSourceEnum_PUBLISH"
|
||||
],
|
||||
"width": 1920,
|
||||
"height": 1080,
|
||||
"url_key": "v0300fg10000c4s7r3rc77u313isbq90_h264_1080p_3432446",
|
||||
"data_size": 24027125,
|
||||
"file_hash": "bfbfd045b09a5fffe2175c946ae37716",
|
||||
"file_cs": "c:0-72544-ab64|d:0-12013561-7e8e,12013562-24027124-0456|a:v0300fg10000c4s7r3rc77u313isbq90"
|
||||
},
|
||||
"cover": {
|
||||
"uri": "tos-cn-i-0813/dec79ae450c643f59e7ac007bffac735",
|
||||
"url_list": [
|
||||
"B6zqJFdOWWsbZqYtqCxbM.png"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"height": 1080,
|
||||
"width": 1920,
|
||||
"ratio": "1080p",
|
||||
"use_static_cover": true,
|
||||
"duration": 56000,
|
||||
"horizontal_type": 1
|
||||
},
|
||||
"share_url": "https://www.iesdouyin.com/share/video/7005490661592026405/?region=CN&mid=7005490868798917390&u_code=13kgm680k&did=MS4wLjABAAAAiOgYyZm8XbWZMr5o3OvhR-TEOuNygb_hQOwkie-VXJpDYaR4vZfpiIGBfAWKCFHB&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&titleType=title&share_sign=YM4fGcPXX3UAXUGDDS3qqzMmYOP4R5wlnXRqTmvFhvU-&share_version=170400&ts=1710480908&from_aid=6383&from_ssr=1",
|
||||
"statistics": {
|
||||
"admire_count": 0,
|
||||
"comment_count": 72495,
|
||||
"digg_count": 1175927,
|
||||
"collect_count": 34025,
|
||||
"play_count": 0,
|
||||
"share_count": 36331
|
||||
},
|
||||
"status": {
|
||||
"listen_video_status": 0,
|
||||
"is_delete": false,
|
||||
"allow_share": true,
|
||||
"is_prohibited": false,
|
||||
"in_reviewing": false,
|
||||
"part_see": 0,
|
||||
"private_status": 0,
|
||||
"review_result": {
|
||||
"review_status": 0
|
||||
}
|
||||
},
|
||||
"text_extra": [
|
||||
{
|
||||
"start": 18,
|
||||
"end": 26,
|
||||
"type": 1,
|
||||
"hashtag_name": "抖音美食创作人",
|
||||
"hashtag_id": "1674623569250317",
|
||||
"is_commerce": false,
|
||||
"caption_start": 0,
|
||||
"caption_end": 0
|
||||
}
|
||||
],
|
||||
"is_top": 0,
|
||||
"share_info": {
|
||||
"share_url": "https://www.iesdouyin.com/share/video/7005490661592026405/?region=CN&mid=7005490868798917390&u_code=13kgm680k&did=MS4wLjABAAAAiOgYyZm8XbWZMr5o3OvhR-TEOuNygb_hQOwkie-VXJpDYaR4vZfpiIGBfAWKCFHB&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&titleType=title&share_sign=YM4fGcPXX3UAXUGDDS3qqzMmYOP4R5wlnXRqTmvFhvU-&share_version=170400&ts=1710480908&from_aid=6383&from_ssr=1",
|
||||
"share_link_desc": "9.48 rRk:/ 12/13 J@v.SY 清凉爽口,凉菜界知名选手——拍黄瓜 # 抖音美食创作人 %s 复制此链接,打开Dou音搜索,直接观看视频!"
|
||||
},
|
||||
"duration": 56000,
|
||||
"image_infos": null,
|
||||
"risk_infos": {
|
||||
"vote": false,
|
||||
"warn": false,
|
||||
"risk_sink": false,
|
||||
"type": 0,
|
||||
"content": ""
|
||||
},
|
||||
"position": null,
|
||||
"author_user_id": 68310389333,
|
||||
"prevent_download": false,
|
||||
"long_video": null,
|
||||
"aweme_control": {
|
||||
"can_forward": true,
|
||||
"can_share": true,
|
||||
"can_comment": true,
|
||||
"can_show_comment": true
|
||||
},
|
||||
"images": null,
|
||||
"suggest_words": {
|
||||
"suggest_words": [
|
||||
{
|
||||
"words": [
|
||||
{
|
||||
"word": "李佳佳",
|
||||
"word_id": "6595514035314103565",
|
||||
"info": "{\"qrec_for_search\":\"{}\"}"
|
||||
}
|
||||
],
|
||||
"scene": "comment_top_rec",
|
||||
"icon_url": "",
|
||||
"hint_text": "大家都在搜:",
|
||||
"extra_info": "{}"
|
||||
},
|
||||
{
|
||||
"words": [
|
||||
{
|
||||
"word": "李佳佳",
|
||||
"word_id": "6595514035314103565",
|
||||
"info": "{\"qrec_for_search\":\"{}\"}"
|
||||
}
|
||||
],
|
||||
"scene": "detail_inbox_rex",
|
||||
"icon_url": "",
|
||||
"hint_text": "",
|
||||
"extra_info": "{}"
|
||||
}
|
||||
]
|
||||
},
|
||||
"video_tag": [
|
||||
{
|
||||
"tag_id": 2001,
|
||||
"tag_name": "美食",
|
||||
"level": 1
|
||||
},
|
||||
{
|
||||
"tag_id": 2001007,
|
||||
"tag_name": "美食展示",
|
||||
"level": 2
|
||||
},
|
||||
{
|
||||
"tag_id": 2001007001,
|
||||
"tag_name": "普通美食展示",
|
||||
"level": 3
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"aweme_id": "7094870216416447744",
|
||||
"desc": "与生俱来的羁绊,别被岁月的小偷拆散 #我心中最好的妈妈",
|
||||
"create_time": 1651903204,
|
||||
"music": {
|
||||
"id": 6951229812707019000,
|
||||
"title": "记忆停留",
|
||||
"author": "蓝心羽",
|
||||
"cover_medium": {
|
||||
"uri": "tos-cn-v-2774c002/d29257b2a8fe4af6889b9fd08b277120",
|
||||
"url_list": [
|
||||
"https://p11.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/d29257b2a8fe4af6889b9fd08b277120.jpeg",
|
||||
"https://p3.douyinpic.com/aweme/200x200/tos-cn-v-2774c002/d29257b2a8fe4af6889b9fd08b277120.jpeg"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"cover_thumb": {
|
||||
"uri": "tos-cn-v-2774c002/d29257b2a8fe4af6889b9fd08b277120",
|
||||
"url_list": [
|
||||
"https://p11.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/d29257b2a8fe4af6889b9fd08b277120.jpeg",
|
||||
"https://p3.douyinpic.com/aweme/100x100/tos-cn-v-2774c002/d29257b2a8fe4af6889b9fd08b277120.jpeg"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"play_url": {
|
||||
"uri": "https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-ve-2774/e1ae3b10baad4ddd98eafb85c39f39d5",
|
||||
"url_list": [
|
||||
"https://sf3-cdn-tos.douyinstatic.com/obj/tos-cn-ve-2774/e1ae3b10baad4ddd98eafb85c39f39d5",
|
||||
"https://sf5-hl-cdn-tos.douyinstatic.com/obj/tos-cn-ve-2774/e1ae3b10baad4ddd98eafb85c39f39d5"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720,
|
||||
"url_key": "6951229812707018759"
|
||||
},
|
||||
"duration": 20,
|
||||
"user_count": 0,
|
||||
"owner_id": "62723822455",
|
||||
"owner_nickname": "",
|
||||
"is_original": true
|
||||
},
|
||||
"video": {
|
||||
"play_addr": {
|
||||
"uri": "v0d00fg10000c9r0h6jc77u4odr941ig",
|
||||
"url_list": [
|
||||
"https://www.douyin.com/aweme/v1/play/?video_id=v0d00fg10000c9r0h6jc77u4odr941ig&line=0&file_id=8bf9ef73d8214b12bd213de349ff0eb3&sign=549ad270c321940da066cbbb26bc5025&is_play_url=1&source=PackSourceEnum_PUBLISH"
|
||||
],
|
||||
"width": 1080,
|
||||
"height": 1920,
|
||||
"url_key": "v0d00fg10000c9r0h6jc77u4odr941ig_h264_1080p_1226363",
|
||||
"data_size": 1551810,
|
||||
"file_hash": "549ad270c321940da066cbbb26bc5025",
|
||||
"file_cs": "c:0-12261-0187|d:0-775904-4aaf,775905-1551809-5740|a:v0d00fg10000c9r0h6jc77u4odr941ig"
|
||||
},
|
||||
"cover": {
|
||||
"uri": "tos-cn-p-0015/cb7b6d969e1e4d9a802fd47993c2a794_1651903208",
|
||||
"url_list": [
|
||||
"ePgMHa9z0yD97JjROSm0K.png"
|
||||
],
|
||||
"width": 720,
|
||||
"height": 720
|
||||
},
|
||||
"height": 1920,
|
||||
"width": 1080,
|
||||
"ratio": "1080p",
|
||||
"use_static_cover": true,
|
||||
"duration": 10123
|
||||
},
|
||||
"share_url": "https://www.iesdouyin.com/share/video/7094870216416447744/?region=CN&mid=6951229812707018759&u_code=13kgm680k&did=MS4wLjABAAAAiOgYyZm8XbWZMr5o3OvhR-TEOuNygb_hQOwkie-VXJpDYaR4vZfpiIGBfAWKCFHB&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&titleType=title&share_sign=_.WBeq3B8GSIN3MYCJblYER15_AjbvTY94bZOLj9.OA-&share_version=170400&ts=1710492180&from_aid=6383&from_ssr=1",
|
||||
"statistics": {
|
||||
"admire_count": 0,
|
||||
"comment_count": 76,
|
||||
"digg_count": 18811,
|
||||
"collect_count": 215,
|
||||
"play_count": 0,
|
||||
"share_count": 84
|
||||
},
|
||||
"status": {
|
||||
"listen_video_status": 0,
|
||||
"is_delete": false,
|
||||
"allow_share": true,
|
||||
"is_prohibited": false,
|
||||
"in_reviewing": false,
|
||||
"part_see": 0,
|
||||
"private_status": 0,
|
||||
"review_result": {
|
||||
"review_status": 0
|
||||
}
|
||||
},
|
||||
"text_extra": [
|
||||
{
|
||||
"start": 19,
|
||||
"end": 28,
|
||||
"type": 1,
|
||||
"hashtag_name": "我心中最好的妈妈",
|
||||
"hashtag_id": "1699224719640591",
|
||||
"is_commerce": false,
|
||||
"caption_start": 0,
|
||||
"caption_end": 0
|
||||
}
|
||||
],
|
||||
"is_top": 1,
|
||||
"share_info": {
|
||||
"share_url": "https://www.iesdouyin.com/share/video/7094870216416447744/?region=CN&mid=6951229812707018759&u_code=13kgm680k&did=MS4wLjABAAAAiOgYyZm8XbWZMr5o3OvhR-TEOuNygb_hQOwkie-VXJpDYaR4vZfpiIGBfAWKCFHB&iid=MS4wLjABAAAANwkJuWIRFOzg5uCpDRpMj4OX-QryoDgn-yYlXQnRwQQ&with_sec_did=1&titleType=title&share_sign=_.WBeq3B8GSIN3MYCJblYER15_AjbvTY94bZOLj9.OA-&share_version=170400&ts=1710492180&from_aid=6383&from_ssr=1",
|
||||
"share_link_desc": "7.46 H@i.Px iCH:/ 07/05 与生俱来的羁绊,别被岁月的小偷拆散 # 我心中最好的妈妈 %s 复制此链接,打开Dou音搜索,直接观看视频!"
|
||||
},
|
||||
"duration": 10123,
|
||||
"image_infos": null,
|
||||
"risk_infos": {
|
||||
"vote": false,
|
||||
"warn": false,
|
||||
"risk_sink": false,
|
||||
"type": 0,
|
||||
"content": ""
|
||||
},
|
||||
"position": null,
|
||||
"author_user_id": 61069823274,
|
||||
"prevent_download": false,
|
||||
"long_video": null,
|
||||
"aweme_control": {
|
||||
"can_forward": true,
|
||||
"can_share": true,
|
||||
"can_comment": true,
|
||||
"can_show_comment": true
|
||||
},
|
||||
"images": null
|
||||
}
|
||||
]
|
||||
1712
src/assets/data/posts6.json
Normal file
1712
src/assets/data/posts6.json
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="music-wrapper">
|
||||
<img class="music" :src="props.item.music?.cover" :style="style"
|
||||
<img class="music" :src="props.item.music?.cover_thumb.url_list[0]" :style="style"
|
||||
@click.stop="bus.emit(EVENT_KEY.NAV,{path:'/home/music',query:{id:props.item.id}})">
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -2,17 +2,18 @@
|
||||
<div class="video-wrapper" ref="videoWrapper" :class="positionName">
|
||||
<Loading v-if="loading" style="position: absolute"/>
|
||||
<!-- <video :src="item.video + '?v=123'"-->
|
||||
|
||||
<video
|
||||
:src="item.video"
|
||||
:poster="item.video + videoPoster"
|
||||
ref="video"
|
||||
muted
|
||||
preload
|
||||
:playsinline="true"
|
||||
:autoplay="isPlay" loop>
|
||||
:src="item.video.play_addr.url_list[0]"
|
||||
:poster="$checkImgUrl(item.video.cover.url_list[0])"
|
||||
ref="video"
|
||||
muted
|
||||
preload
|
||||
:playsinline="true"
|
||||
:autoplay="isPlay" loop>
|
||||
<p> 您的浏览器不支持 video 标签。</p>
|
||||
</video>
|
||||
<Icon icon="fluent:play-28-filled" class="pause-icon" v-if="!isPlaying"/>
|
||||
<Icon icon="fluent:play-28-filled" class="pause-icon" v-if="!isPlaying"/>
|
||||
<div class="float" :style="{opacity: isUp?0:1}">
|
||||
<div :style="{opacity:isMove ? 0:1}" class="normal">
|
||||
<template v-if="!commentVisible">
|
||||
@ -67,7 +68,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Utils from '../../utils'
|
||||
import Utils, {$checkImgUrl} from '../../utils'
|
||||
import Loading from "../Loading";
|
||||
import ItemToolbar from "./ItemToolbar";
|
||||
import ItemDesc from "./ItemDesc";
|
||||
@ -160,7 +161,6 @@ export default {
|
||||
localItem: this.item,
|
||||
progressBarRect: {},
|
||||
videoScreenHeight: 0,
|
||||
videoPoster: `?vframe/jpg/offset/0/w/${document.body.clientWidth}`,
|
||||
commentVisible: false,
|
||||
LUtils: Utils
|
||||
}
|
||||
@ -242,6 +242,7 @@ export default {
|
||||
bus.off(EVENT_KEY.CLOSE_SUB_TYPE, this.onCloseSubType)
|
||||
},
|
||||
methods: {
|
||||
$checkImgUrl,
|
||||
onOpenSubType() {
|
||||
this.commentVisible = true
|
||||
},
|
||||
|
||||
@ -34,7 +34,7 @@ const state = reactive({
|
||||
<template>
|
||||
<div class="item-desc ml1r mb1r">
|
||||
<div class="content" v-if="!props.isMy">
|
||||
<div class="location-wrapper" v-if=" props.item.city || item.address">
|
||||
<div class="location-wrapper" v-if="props.item.city || item.address">
|
||||
<div class="location">
|
||||
<img src="../../assets/img/icon/location.webp" alt="">
|
||||
<span>{{ props.item.city }}</span>
|
||||
|
||||
@ -55,7 +55,7 @@ function showComments() {
|
||||
<template>
|
||||
<div class="toolbar mb1r">
|
||||
<div class="avatar-ctn mb2r">
|
||||
<img class="avatar" :src="props.item.author.avatar" alt=""
|
||||
<img class="avatar" :src="props.item.author.avatar_168x168.url_list[0]" alt=""
|
||||
@click.stop="bus.emit(EVENT_KEY.GO_USERINFO)">
|
||||
<transition name="fade">
|
||||
<div v-if="!props.item.isAttention" @click.stop="attention" class="options">
|
||||
@ -69,21 +69,21 @@ function showComments() {
|
||||
<img src="../../assets/img/icon/love.svg" class="love-image" v-if="!props.item.isLoved">
|
||||
<img src="../../assets/img/icon/loved.svg" class="love-image" v-if="props.item.isLoved">
|
||||
</div>
|
||||
<span>{{ Utils.formatNumber(props.item.digg_count) }}</span>
|
||||
<span>{{ Utils.formatNumber(props.item.statistics.digg_count) }}</span>
|
||||
</div>
|
||||
<div class="message mb2r" @click.stop="showComments">
|
||||
<Icon icon="mage:message-dots-round-fill" class="icon" style="color: white"/>
|
||||
<span>{{ Utils.formatNumber(props.item.comment_count) }}</span>
|
||||
<span>{{ Utils.formatNumber(props.item.statistics.comment_count) }}</span>
|
||||
</div>
|
||||
<!--TODO -->
|
||||
<div class="message mb2r" @click.stop="Utils.updateItem(props, 'isCollect', !props.item.isCollect, emit)">
|
||||
<Icon v-if="props.item.isCollect" icon="ic:round-star" class="icon" style="color: yellow"/>
|
||||
<Icon v-else icon="ic:round-star" class="icon" style="color: white"/>
|
||||
<span>{{ Utils.formatNumber(props.item.comment_count) }}</span>
|
||||
<span>{{ Utils.formatNumber(props.item.statistics.comment_count) }}</span>
|
||||
</div>
|
||||
<div v-if="!props.isMy" class="share mb2r" @click.stop="bus.emit(EVENT_KEY.SHOW_SHARE)">
|
||||
<img src="../../assets/img/icon/share-white-full.png" alt="" class="share-image">
|
||||
<span>{{ Utils.formatNumber(props.item.share_count) }}</span>
|
||||
<span>{{ Utils.formatNumber(props.item.statistics.share_count) }}</span>
|
||||
</div>
|
||||
<div v-else class="share mb2r" @click.stop="bus.emit(EVENT_KEY.SHOW_SHARE)">
|
||||
<img src="../../assets/img/icon/menu-white.png" alt="" class="share-image">
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
import Mock from 'mockjs'
|
||||
import globalMethods from '../utils'
|
||||
import resource from "../assets/data/resource.js";
|
||||
import posts6 from "@/assets/data/posts6.json";
|
||||
import users from '@/assets/data/users.json'
|
||||
import post from '@/assets/data/post.json'
|
||||
import {sample, shuffle, uniqueId} from "lodash";
|
||||
@ -23,10 +24,13 @@ Mock.setup({
|
||||
timeout: '500-1000'
|
||||
// timeout: '5000'
|
||||
})
|
||||
let allRecommendVideos = resource.videos.map(v => {
|
||||
// console.log('posts20',posts20)
|
||||
let allRecommendVideos = posts6.map(v => {
|
||||
v.type = 'recommend-video'
|
||||
return v
|
||||
})
|
||||
|
||||
console.log('allRecommendVideos', allRecommendVideos)
|
||||
let t = [
|
||||
{
|
||||
type: 'imgs',
|
||||
@ -65,19 +69,24 @@ let t = [
|
||||
// unique_id: uniqueId('list_')
|
||||
// }
|
||||
// },
|
||||
for (let i = 0; i < 50; i++) {
|
||||
allRecommendVideos = allRecommendVideos.concat(shuffle(resource.videos)
|
||||
.slice(0, 10)
|
||||
.map(v => {
|
||||
v.type = 'recommend-video'
|
||||
return v
|
||||
}))
|
||||
}
|
||||
|
||||
// for (let i = 0; i < 50; i++) {
|
||||
// allRecommendVideos = allRecommendVideos.concat(shuffle(resource.videos)
|
||||
// .slice(0, 10)
|
||||
// .map(v => {
|
||||
// v.type = 'recommend-video'
|
||||
// return v
|
||||
// }))
|
||||
// }
|
||||
|
||||
Mock.mock(/recommended/, options => {
|
||||
console.log('recommended', options)
|
||||
let page = getPage(options)
|
||||
return Mock.mock({
|
||||
data: {
|
||||
total: allRecommendVideos.length, list: allRecommendVideos.slice(page.offset, page.limit),
|
||||
total: allRecommendVideos.length,
|
||||
// list: allRecommendVideos.slice(page.offset, page.limit),
|
||||
list: allRecommendVideos.slice(0, 6),
|
||||
}, code: 200, msg: '',
|
||||
})
|
||||
})
|
||||
|
||||
@ -432,4 +432,19 @@ export function $no() {
|
||||
|
||||
export function $notice(val) {
|
||||
Utils.$notice(val)
|
||||
}
|
||||
|
||||
export function $checkImgUrl(url) {
|
||||
// console.log(url)
|
||||
if (!url) return
|
||||
//本地图片
|
||||
if (url.includes('data:image')) {
|
||||
return url
|
||||
}
|
||||
//网络,全路径图片
|
||||
if (url.includes('http')) {
|
||||
return url
|
||||
} else {
|
||||
return '/imgs/' + url
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user