Trying to fix issue 32

This commit is contained in:
Rafael Vargas
2023-01-22 15:06:55 -03:00
parent 10e38a8809
commit a72c4c7d8d
6 changed files with 27 additions and 11 deletions

View File

@@ -151,6 +151,8 @@ class Downloader:
return {}
if self.__is_multiple_musics(extracted_info):
if len(extracted_info['entries']) == 0:
return {}
return extracted_info['entries'][0]
else:
print(f'DEVELOPER NOTE -> Failed to extract title {title}')