move .cookies to /cookies

master
Aevann 2023-02-25 19:45:13 +02:00
parent cea377b562
commit 8418e0075f
2 changed files with 1 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
.env
.cookies
venv/
__pycache__/
.idea/

View File

@ -737,7 +737,7 @@ def _change_song_youtube(vid, id):
os.remove(f"/songs/{v.song}.mp3")
ydl_opts = {
'cookiefile': '.cookies',
'cookiefile': '/cookies',
'outtmpl': '/temp_songs/%(id)s.%(ext)s',
'format': 'bestaudio/best',
'postprocessors': [{