yutipy 2.2.12__tar.gz → 2.2.14__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yutipy might be problematic. Click here for more details.
- {yutipy-2.2.12 → yutipy-2.2.14}/PKG-INFO +2 -2
- {yutipy-2.2.12 → yutipy-2.2.14}/pyproject.toml +1 -1
- {yutipy-2.2.12 → yutipy-2.2.14}/requirements.txt +1 -1
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/itunes.py +3 -2
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy.egg-info/PKG-INFO +2 -2
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy.egg-info/requires.txt +1 -1
- {yutipy-2.2.12 → yutipy-2.2.14}/.gitattributes +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/.github/FUNDING.yml +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/.github/dependabot.yml +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/.github/workflows/pytest-unit-testing.yml +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/.github/workflows/release.yml +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/.gitignore +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/.readthedocs.yaml +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/LICENSE +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/MANIFEST.in +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/README.md +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/docs/Makefile +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/docs/_static/yutipy_header.png +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/docs/_static/yutipy_logo.png +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/docs/api_reference.rst +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/docs/available_platforms.rst +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/docs/cli.rst +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/docs/conf.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/docs/faq.rst +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/docs/index.rst +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/docs/installation.rst +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/docs/make.bat +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/docs/requirements.txt +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/docs/usage_examples.rst +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/requirements-dev.txt +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/setup.cfg +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/tests/__init__.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/tests/test_deezer.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/tests/test_itunes.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/tests/test_kkbox.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/tests/test_lastfm.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/tests/test_models.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/tests/test_musicyt.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/tests/test_spotify.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/tests/test_utils.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/__init__.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/base_clients.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/cli/__init__.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/cli/config.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/cli/search.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/deezer.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/exceptions.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/kkbox.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/lastfm.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/logger.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/models.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/musicyt.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/spotify.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/utils/__init__.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/utils/helpers.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy/yutipy_music.py +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy.egg-info/SOURCES.txt +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy.egg-info/dependency_links.txt +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy.egg-info/entry_points.txt +0 -0
- {yutipy-2.2.12 → yutipy-2.2.14}/yutipy.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: yutipy
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.14
|
|
4
4
|
Summary: A simple Python package to interact with various music platforms APIs.
|
|
5
5
|
Author: Cheap Nightbot
|
|
6
6
|
Author-email: Cheap Nightbot <hi@cheapnightbot.slmail.me>
|
|
@@ -28,7 +28,7 @@ License-File: LICENSE
|
|
|
28
28
|
Requires-Dist: pykakasi==2.3.0
|
|
29
29
|
Requires-Dist: python-dotenv==1.1.0
|
|
30
30
|
Requires-Dist: rapidfuzz==3.13.0
|
|
31
|
-
Requires-Dist: requests==2.32.
|
|
31
|
+
Requires-Dist: requests==2.32.4
|
|
32
32
|
Requires-Dist: ytmusicapi==1.10.3
|
|
33
33
|
Dynamic: license-file
|
|
34
34
|
|
|
@@ -9,7 +9,7 @@ import requests
|
|
|
9
9
|
from yutipy.exceptions import InvalidValueException, ItunesException
|
|
10
10
|
from yutipy.logger import logger
|
|
11
11
|
from yutipy.models import MusicInfo
|
|
12
|
-
from yutipy.utils.helpers import are_strings_similar, guess_album_type, is_valid_string
|
|
12
|
+
from yutipy.utils.helpers import are_strings_similar, guess_album_type, is_valid_string, separate_artists
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
class Itunes:
|
|
@@ -149,12 +149,13 @@ class Itunes:
|
|
|
149
149
|
|
|
150
150
|
album_title, album_type = self._extract_album_info(result)
|
|
151
151
|
release_date = self._format_release_date(result["releaseDate"])
|
|
152
|
+
artists = separate_artists(result["artistName"])
|
|
152
153
|
|
|
153
154
|
return MusicInfo(
|
|
154
155
|
album_art=result["artworkUrl100"],
|
|
155
156
|
album_title=album_title,
|
|
156
157
|
album_type=album_type.lower(),
|
|
157
|
-
artists=
|
|
158
|
+
artists=", ".join(artists),
|
|
158
159
|
genre=result["primaryGenreName"],
|
|
159
160
|
id=result.get("trackId", result["collectionId"]),
|
|
160
161
|
isrc=None,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: yutipy
|
|
3
|
-
Version: 2.2.
|
|
3
|
+
Version: 2.2.14
|
|
4
4
|
Summary: A simple Python package to interact with various music platforms APIs.
|
|
5
5
|
Author: Cheap Nightbot
|
|
6
6
|
Author-email: Cheap Nightbot <hi@cheapnightbot.slmail.me>
|
|
@@ -28,7 +28,7 @@ License-File: LICENSE
|
|
|
28
28
|
Requires-Dist: pykakasi==2.3.0
|
|
29
29
|
Requires-Dist: python-dotenv==1.1.0
|
|
30
30
|
Requires-Dist: rapidfuzz==3.13.0
|
|
31
|
-
Requires-Dist: requests==2.32.
|
|
31
|
+
Requires-Dist: requests==2.32.4
|
|
32
32
|
Requires-Dist: ytmusicapi==1.10.3
|
|
33
33
|
Dynamic: license-file
|
|
34
34
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|