mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-29 06:57:06 +00:00
ytdl update requirement
This commit is contained in:
parent
4dac358339
commit
6eec0c8a00
@ -10,7 +10,7 @@ from pagermaid.utils import pip_install, lang
|
|||||||
from pagermaid.enums import Message
|
from pagermaid.enums import Message
|
||||||
from pagermaid.services import bot
|
from pagermaid.services import bot
|
||||||
|
|
||||||
pip_install("yt-dlp", version="==2022.11.11", alias="yt_dlp")
|
pip_install("yt-dlp", version="==2023.3.4", alias="yt_dlp")
|
||||||
|
|
||||||
import yt_dlp
|
import yt_dlp
|
||||||
|
|
||||||
@ -103,7 +103,7 @@ async def start_download(message: Message, url: str):
|
|||||||
|
|
||||||
|
|
||||||
@listener(command="ytdl",
|
@listener(command="ytdl",
|
||||||
description="Upload Youtube、Bilibili video to telegram",
|
description="Upload Youtube video to telegram",
|
||||||
parameters="[url]")
|
parameters="[url]")
|
||||||
async def ytdl(message: Message):
|
async def ytdl(message: Message):
|
||||||
global ytdl_is_downloading
|
global ytdl_is_downloading
|
||||||
|
Loading…
Reference in New Issue
Block a user