debug vk audio
This commit is contained in:
parent
fb38e00776
commit
cfcad1994e
@ -1,3 +1,4 @@
|
|||||||
|
import logging
|
||||||
import os
|
import os
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
@ -42,6 +43,7 @@ class VKMusicFeedModuleConfig(FeedModuleConfig):
|
|||||||
else:
|
else:
|
||||||
break
|
break
|
||||||
for track in lst:
|
for track in lst:
|
||||||
|
logging.warning(track)
|
||||||
f = get_vk_audio(track['url'])
|
f = get_vk_audio(track['url'])
|
||||||
bot.send_audio(chat_id, f, duration=track['duration'], performer=track['artist'],
|
bot.send_audio(chat_id, f, duration=track['duration'], performer=track['artist'],
|
||||||
title=track['title'], timeout=40)
|
title=track['title'], timeout=40)
|
||||||
|
Loading…
Reference in New Issue
Block a user