bdim404 / music-download-telegram-bot

Downloads music telegram bot by python (support Apple Music & Spotify now)
BSD 3-Clause "New" or "Revised" License
11 stars 3 forks source link

cookies.txt and device.wvd error #8

Closed ivanga closed 5 months ago

ivanga commented 5 months ago

Hello, sorry for the stupid question, but how and with what help can I create cookies.txt and device.wvd files to run the script correctly?

bdim404 commented 5 months ago

You can put the cookies.txt and device.wvd files in the music-download-telegram-bot/ , and run script in the music-download-telegram-bot/ for example: your .env file:

# Your cookies.txt file location, perfer you put it in /src
# (for example, /home/user/cookies.txt)
COOKIES_LOCATION = ./cookies.txt

# Your device.wvd file location, perfer you put it in /src
# (for example, /home/user/device.wvd)
DEVICE_LOCATION = ./device.wvd
BdimMacBook-Pro:music-download-telegram-bot bdim404$ ls
LICENSE         cookies.txt     device.wvd      src
README.md       database.db     requirements.txt    venv

and

python3 src/main.py

Hope this can help you.