mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
Merge branch 'master' of github.com:EEKIM10/LCC-Bot
This commit is contained in:
commit
d246c14a2d
1 changed files with 0 additions and 7 deletions
|
@ -1001,13 +1001,6 @@ class OtherCog(commands.Cog):
|
|||
]
|
||||
args["format"] = args["format"] or f"(ba/b)[filesize<={MAX_SIZE_MB}M]"
|
||||
|
||||
try:
|
||||
url = urlparse(url)
|
||||
if url.netloc in ("www.instagram.com", "instagram.com"):
|
||||
args["cookiesfrombrowser"] = ("firefox", "default")
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
if args["format"] is None:
|
||||
args["format"] = f"(bv*+ba/bv/ba/b)[filesize<={MAX_SIZE_MB}M]"
|
||||
with yt_dlp.YoutubeDL(args) as downloader:
|
||||
|
|
Loading…
Reference in a new issue