Kryptone commited on
Commit
921272b
·
verified ·
1 Parent(s): 2becd78

add title and author as a test

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -221,7 +221,7 @@ def download_video_as_audio_only(yt_video, audio_output_format):
221
  for outputmp3removal in glob.glob("*.mp3"):
222
  if os.path.exists(outputmp3removal):
223
  os.remove(outputmp3removal)
224
- return "Done! Download the zip file below! This only contains the audio file.", single_zip_name
225
 
226
  def check_for_remaining_wav_or_mp3_files(which_filetype):
227
  audio_files = glob.glob(f"*.{which_filetype}")
 
221
  for outputmp3removal in glob.glob("*.mp3"):
222
  if os.path.exists(outputmp3removal):
223
  os.remove(outputmp3removal)
224
+ return f"Done! Download the zip file below! This only contains the audio file.\n\nYou have downloaded {yt.title} by {yt.author}.", single_zip_name
225
 
226
  def check_for_remaining_wav_or_mp3_files(which_filetype):
227
  audio_files = glob.glob(f"*.{which_filetype}")