From 72beb93bc30e3c9a4e327d809b9e91bb9ad0b98f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A1=BE=E9=A3=8E?= <51695264+q4w5e6@users.noreply.github.com> Date: Thu, 11 Mar 2021 11:59:46 +0800 Subject: [PATCH] Update videodl.py --- videodl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/videodl.py b/videodl.py index b6d969f..8726fa5 100644 --- a/videodl.py +++ b/videodl.py @@ -33,7 +33,7 @@ async def vdl(context): from pytube import YouTube except ImportError: await context.edit('`pytube`支持库未安装,YouTube视频无法下载\n请使用 `-sh pip3 install --user ' - 'git+https://github.com/nficano/pytube` 安装,或自行ssh安装\n\n已安装过 `pytube3` 的用户请使用 `-sh pip3 ' + 'git+https://github.com/nficano/pytube 或 -sh pip3 install pytube --upgrade ` 安装,或自行ssh安装\n\n已安装过 `pytube3` 的用户请使用 `-sh pip3 ' 'uninstall pytube3 -y` 进行卸载') return url = url.replace('www.youtube.com/watch?v=', 'youtu.be/')