404 eror
Opened this issue · 1 comments
DanyBoy1384 commented
if you run bot locally it downloads the song on your laptop or pc but gives the user in the chat 404 eror
Soebb commented
I had this issue with youtube-dl in my own use cases before, and i resolved it with adding 2 options to youtube-dl options.
So maybe you want check by editing the options list :
options = { 'format': 'bestaudio/best', 'geo_bypass': True, 'nocheckcertificate': True, 'keepvideo': False, 'outtmpl': f'{self.trackName}.*', 'postprocessors': [{ 'key': 'FFmpegExtractAudio', 'preferredcodec': 'mp3', 'preferredquality': '320' }], }
Also I personally prefer using yt-dlp instead of youtube-dl nowadays.