From e203b868b9e9cc92822f3c4580e6ff169eab00a7 Mon Sep 17 00:00:00 2001 From: 01Petard <1520394133@qq.com> Date: Thu, 12 Dec 2024 19:47:50 +0800 Subject: [PATCH] =?UTF-8?q?doc:=20=E6=96=B0=E5=A2=9E=E6=96=87=E7=AB=A0?= =?UTF-8?q?=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vitepress/config.js | 1 + "docs/\346\235\202\350\260\210/index.md" | 1 + .../\345\205\263\344\272\216yt-dlp.md" | 25 +++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 "docs/\346\235\202\350\260\210/\345\205\263\344\272\216yt-dlp.md" diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index 197c292..fc86c08 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -227,6 +227,7 @@ export default { { text: "杂谈", items: [ + {text: "关于yt-dlp", link: "/杂谈/关于yt-dlp"}, {text: "设计模式的荼毒体现在哪?", link: "/杂谈/设计模式的荼毒体现在哪"}, {text: "对于大模型绘制UML图的调研", link: "/杂谈/对于大模型绘制UML图的调研"}, {text: "2024年常见Ollama大模型对比", link: "/杂谈/2024年常见Ollama大模型对比"}, diff --git "a/docs/\346\235\202\350\260\210/index.md" "b/docs/\346\235\202\350\260\210/index.md" index 856d747..d74c8ac 100644 --- "a/docs/\346\235\202\350\260\210/index.md" +++ "b/docs/\346\235\202\350\260\210/index.md" @@ -8,6 +8,7 @@ _这就没必要搞个目录了吧?_ 算了还是写一下吧! +1. [关于yt-dlp.md](./关于yt-dlp.md) 1. [设计模式的茶毒体现在哪?](./设计模式的荼毒体现在哪.md) 2. [对于大模型绘制UML图的调研](./对于大模型绘制UML图的调研.md) 3. [2024年常见Ollama大模型对比](./2024年常见Ollama大模型对比.md) diff --git "a/docs/\346\235\202\350\260\210/\345\205\263\344\272\216yt-dlp.md" "b/docs/\346\235\202\350\260\210/\345\205\263\344\272\216yt-dlp.md" new file mode 100644 index 0000000..7f4a55d --- /dev/null +++ "b/docs/\346\235\202\350\260\210/\345\205\263\344\272\216yt-dlp.md" @@ -0,0 +1,25 @@ +# yt-dlp——强大的视频下载工具 + +> 项目Git地址:[yt-dlp/yt-dlp: A feature-rich command-line audio/video downloader](https://github.com/yt-dlp/yt-dlp) + +提取这个地址的视频:`https://www.bilibili.com/BV1j6DYYpExQ` + +`-o '~/%(title)s.%(ext)s'`表示将视频文件放到用户桌面,文件名是视频名称 + +```shell +yt-dlp --cookies cookies.txt -o '~/Desktop/%(title)s.%(ext)s' 'https://www.bilibili.com/BV1j6DYYpExQ' +``` + +# 使用git时,去除".idea"、“.vscode”文件夹中的文件 + +```shell +git rm --cached -r ..idea\ +``` + + + + + +# EasyConnect + +代理服务器:`https://sslvpn. zjut. edu. cn/`