Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return
image = image_resize(
check_image(url, ids, kind), 90
)
mode = downloa.download_trackdee
z = mode(
link,
quality = quality,
recursive_quality = True,
recursive_download = True,
not_interface = not_interface
)
except (exceptions.TrackNotFound, exceptions.NoDataApi):
sendMessage(chat_id, "Track doesn't %s exist on Deezer or maybe it isn't readable, it'll be downloaded from YouTube..." % link)
try:
if "spotify" in link:
mode = dwytsongs.download_trackspo
elif "deezer" in link:
mode = dwytsongs.download_trackdee
z = mode(
link,
recursive_download = True,
not_interface = not_interface
)
youtube = True