Skip to content

Commit

Permalink
Update youtube_dl_button.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RangoZEX authored Jan 13, 2022
1 parent 76558bc commit f6a47ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tobrot/helper_funcs/youtube_dl_button.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async def youtube_dl_call_back(bot, update):
thumb_image = response_json.get("thumbnail", thumb_image)
if tg_send_type == "audio":
command_to_exec = [
"youtube-dl",
"yt-dlp",
"-c",
"--prefer-ffmpeg",
"--extract-audio",
Expand All @@ -118,7 +118,7 @@ async def youtube_dl_call_back(bot, update):
break

command_to_exec = [
"youtube-dl",
"yt-dlp",
"-c",
"--embed-subs",
"-f",
Expand Down Expand Up @@ -198,4 +198,4 @@ async def youtube_dl_call_back(bot, update):
except:
pass
#


0 comments on commit f6a47ff

Please sign in to comment.