diff --git a/README.md b/README.md index 78e4adf..6dcb8f5 100644 --- a/README.md +++ b/README.md @@ -139,6 +139,7 @@ ID: - Разработчикам проекта [yandex-music-api](https://github.com/MarshalX/yandex-music-api) - @ArtemBay за [скрипт](https://github.com/MarshalX/yandex-music-api/issues/656#issuecomment-2306542725) получения ссылки на загрузку в lossless качестве - @keltecc за [метод дешифрования файлов](https://github.com/llistochek/yandex-music-downloader/issues/112#issuecomment-2812535100) +- @leowerd за [корректные имена исполнителей](https://github.com/llistochek/yandex-music-downloader/issues/93#issuecomment-2960210879) при загрузке сборников ## Дисклеймер diff --git a/pyproject.toml b/pyproject.toml index 422594b..94e43dc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" [project] name = "yandex-music-downloader" -version = "3.4.8" +version = "3.4.9" description = "Загрузчик музыки с сервиса Яндекс.Музыка" requires-python = ">=3.9" readme = "README.md" diff --git a/ymd/core.py b/ymd/core.py index 1275bfe..3f36d9e 100644 --- a/ymd/core.py +++ b/ymd/core.py @@ -115,8 +115,10 @@ def prepare_base_path( if albums := track.albums: album = albums[0] track_position = album.track_position - if artists := album.artists: + if artists := track.artists: artist = artists[0] + elif artists := album.artists: + artists = artists[0] if artist is None and (artists := track.artists): artist = artists[0] repl_dict: dict[str, Union[str, int, None]] = {