debug vk audio
This commit is contained in:
parent
fb38e00776
commit
cfcad1994e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user