Skip to content

Commit d341025

Browse files
committed
Add more videos
1 parent e780281 commit d341025

File tree

4 files changed

+50
-2
lines changed

4 files changed

+50
-2
lines changed

bin/download-covers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const videosPath = path.join(__dirname, 'videos.json')
1313
const videosData = JSON.parse(fs.readFileSync(videosPath, 'utf-8'))
1414

1515
// Create destination directory if it doesn't exist
16-
const destDir = path.join(__dirname, '../src/static/videos')
16+
const destDir = path.join(__dirname, '../src/static/video-thumb')
1717
if (!fs.existsSync(destDir)) {
1818
fs.mkdirSync(destDir, { recursive: true })
1919
}

bin/videos.json

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"mid": "14001525",
55
"seasonName": "合集·electerm",
66
"seasonDescription": "electerm使用介绍",
7-
"total": 40,
7+
"total": 42,
88
"fetchedAt": "2025-12-28T05:30:00.000Z"
99
},
1010
"videos": [
@@ -967,6 +967,54 @@
967967
},
968968
"videoSlug": "electerm-workspace",
969969
"titleEn": "Electerm Workspace"
970+
},
971+
{
972+
"aid": 116113484613887,
973+
"bvid": "BV1w7fwBdEKF",
974+
"title": "electerm:使用AI创建书签",
975+
"description": "使用自然语言,应用AI创建书签或者也可以导入其他终端的数据",
976+
"link": "https://www.bilibili.com/video/BV1w7fwBdEKF",
977+
"cover": "http://i0.hdslb.com/bfs/archive/10bb66c53aa944f0ba8f6b72486be95dec405729.jpg",
978+
"author": "zxdong262",
979+
"authorMid": 14001525,
980+
"duration": 105,
981+
"pubdate": 1771751478,
982+
"publishDate": "2026-02-22T02:51:18.000Z",
983+
"stats": {
984+
"view": 0,
985+
"danmaku": 0,
986+
"reply": 0,
987+
"favorite": 0,
988+
"coin": 0,
989+
"share": 0,
990+
"like": 0
991+
},
992+
"videoSlug": "electerm-use-ai-to-create-bookmarks",
993+
"titleEn": "Electerm Use AI to Create Bookmarks"
994+
},
995+
{
996+
"aid": 116113467769505,
997+
"bvid": "BV1rJfwBWErw",
998+
"title": "electerm: spice protocol session",
999+
"description": "使用electerm连接Spice主机",
1000+
"link": "https://www.bilibili.com/video/BV1rJfwBWErw",
1001+
"cover": "http://i1.hdslb.com/bfs/archive/7c3b3d8798ac41abf379ef307a0e6204c62ef0bb.jpg",
1002+
"author": "zxdong262",
1003+
"authorMid": 14001525,
1004+
"duration": 26,
1005+
"pubdate": 1771751102,
1006+
"publishDate": "2026-02-22T02:45:02.000Z",
1007+
"stats": {
1008+
"view": 0,
1009+
"danmaku": 0,
1010+
"reply": 0,
1011+
"favorite": 0,
1012+
"coin": 0,
1013+
"share": 0,
1014+
"like": 0
1015+
},
1016+
"videoSlug": "electerm-spice-protocol-session",
1017+
"titleEn": "Electerm Spice Protocol Session"
9701018
}
9711019
]
9721020
}
4.75 KB
Loading
7.88 KB
Loading

0 commit comments

Comments
 (0)