Skip to content

Commit

Permalink
👌
Browse files Browse the repository at this point in the history
  • Loading branch information
KSKOP69 committed Nov 3, 2024
1 parent 64fbd1b commit a3be0a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion AlexaMusic/platforms/Youtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ async def track(self, link: str, videoid: Union[bool, str] = None):
"vidid": vidid,
"duration_min": duration_min,
"thumb": thumbnail,
"cookiefile": cookiefile(),
}
return track_details, vidid

Expand Down Expand Up @@ -264,6 +265,7 @@ async def formats(self, link: str, videoid: Union[bool, str] = None):
"ext": format["ext"],
"format_note": format["format_note"],
"yturl": link,
"cookiefile": cookiefile()
}
)
return formats_available, link
Expand Down Expand Up @@ -322,7 +324,7 @@ def audio_dl():
def video_dl():
ydl_optssx = {
"cookiefile": cookiefile(),
"format": "(bestvideo[height<=?720][width<=?1280][ext=mp4])+(bestaudio[ext=m4a])",
"format": "(best[height<=?720][width<=?1280])",
"outtmpl": "downloads/%(id)s.%(ext)s",
"geo_bypass": True,
"nocheckcertificate": True,
Expand Down

0 comments on commit a3be0a9

Please sign in to comment.