Skip to content

Commit

Permalink
doc: 新增文章;
Browse files Browse the repository at this point in the history
  • Loading branch information
01Petard committed Dec 12, 2024
1 parent 804a048 commit e203b86
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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大模型对比"},
Expand Down
1 change: 1 addition & 0 deletions docs/杂谈/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ _<u>这就没必要搞个目录了吧?</u>_

算了还是写一下吧!

1. [关于yt-dlp.md](./关于yt-dlp.md)
1. [设计模式的茶毒体现在哪?](./设计模式的荼毒体现在哪.md)
2. [对于大模型绘制UML图的调研](./对于大模型绘制UML图的调研.md)
3. [2024年常见Ollama大模型对比](./2024年常见Ollama大模型对比.md)
Expand Down
25 changes: 25 additions & 0 deletions docs/杂谈/关于yt-dlp.md
Original file line number Diff line number Diff line change
@@ -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/`

0 comments on commit e203b86

Please sign in to comment.