fix syntax
This commit is contained in:
@@ -3,7 +3,7 @@ import asyncio
|
|||||||
|
|
||||||
def get_formats(url: str):
|
def get_formats(url: str):
|
||||||
ydl = yt_dlp.YoutubeDL(params={
|
ydl = yt_dlp.YoutubeDL(params={
|
||||||
'remote_components': 'ejs:github'
|
'remote_components': ['ejs:github']
|
||||||
})
|
})
|
||||||
info = ydl.extract_info(url, download=False)
|
info = ydl.extract_info(url, download=False)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user