Update functions.py
Browse files- functions.py +2 -2
functions.py
CHANGED
@@ -119,8 +119,8 @@ def get_yt_audio(url):
|
|
119 |
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
|
120 |
ydl.download([url])
|
121 |
|
122 |
-
with open(temp_audio_file+'.mp3', 'rb') as file:
|
123 |
-
|
124 |
|
125 |
return audio_file
|
126 |
|
|
|
119 |
with yt_dlp.YoutubeDL(ydl_opts) as ydl:
|
120 |
ydl.download([url])
|
121 |
|
122 |
+
#with open(temp_audio_file+'.mp3', 'rb') as file:
|
123 |
+
audio_file = os.path.join('output', 'audio.mp3')
|
124 |
|
125 |
return audio_file
|
126 |
|