From cfcad1994e81864ad2da6ff417eb41ac91ba01b8 Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Wed, 19 Feb 2020 21:40:30 +0300 Subject: [PATCH] debug vk audio --- feeds/modules/vk_music.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/feeds/modules/vk_music.py b/feeds/modules/vk_music.py index 64ed317..a28a9fc 100644 --- a/feeds/modules/vk_music.py +++ b/feeds/modules/vk_music.py @@ -1,3 +1,4 @@ +import logging import os import tempfile @@ -42,6 +43,7 @@ class VKMusicFeedModuleConfig(FeedModuleConfig): else: break for track in lst: + logging.warning(track) f = get_vk_audio(track['url']) bot.send_audio(chat_id, f, duration=track['duration'], performer=track['artist'], title=track['title'], timeout=40)