yutipy 2.3.2__py3-none-any.whl → 2.3.4__py3-none-any.whl

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/base_clients.py CHANGED
@@ -404,6 +404,8 @@ class BaseAuthClient:
404
404
  )
405
405
 
406
406
  response_json = response.json()
407
+ if "refresh_token" not in response_json:
408
+ response_json["refresh_token"] = refresh_token
407
409
  response_json["requested_at"] = time()
408
410
  return response_json
409
411
 
yutipy/utils/helpers.py CHANGED
@@ -185,7 +185,7 @@ def separate_artists(artists: str, custom_separator: str = None) -> list[str]:
185
185
  if custom_separator:
186
186
  pattern = re.escape(custom_separator)
187
187
  else:
188
- pattern = r"\s*(?:ft\.?|feat\.?|with|and|[;/&])\s*"
188
+ pattern = r"\s(?:ft\.?|feat\.?|with|and|[;/&])\s"
189
189
 
190
190
  return [
191
191
  artist.strip()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: yutipy
3
- Version: 2.3.2
3
+ Version: 2.3.4
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>
@@ -26,7 +26,7 @@ Requires-Python: >=3.9
26
26
  Description-Content-Type: text/markdown
27
27
  License-File: LICENSE
28
28
  Requires-Dist: pykakasi==2.3.0
29
- Requires-Dist: python-dotenv==1.1.0
29
+ Requires-Dist: python-dotenv==1.1.1
30
30
  Requires-Dist: rapidfuzz==3.13.0
31
31
  Requires-Dist: requests==2.32.4
32
32
  Requires-Dist: ytmusicapi==1.10.3
@@ -1,5 +1,5 @@
1
1
  yutipy/__init__.py,sha256=DjHnnzikF6QIvCVqpelYUGQalYjovs6hSf6vbfPnEqM,320
2
- yutipy/base_clients.py,sha256=sIIgeFLzKKMcGdVU1jOZzdZhrD0NwxonBZJ4Jc3eDCE,22096
2
+ yutipy/base_clients.py,sha256=suCPiUqoIzRGB70rktB0vh_EebhesJJgt-idhVmaKxU,22204
3
3
  yutipy/deezer.py,sha256=WzqC4ylZo7VmbyAfVZarvaqmnlamdEge3ceY_OJ9h4Y,11021
4
4
  yutipy/exceptions.py,sha256=zz0XyyZr5xRcmRyw3hdTGaVRcwRn_RSYZdmwmuO0sEM,1379
5
5
  yutipy/itunes.py,sha256=_iWq1COXNAiLIrUtwfI1jNey9dXe3-gCzoRF0eGgTs8,8038
@@ -15,10 +15,10 @@ yutipy/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
15
15
  yutipy/cli/config.py,sha256=e5RIq6RxVxxzx30nKVMa06gwyQ258s7U0WA1xvJuR_0,4543
16
16
  yutipy/cli/search.py,sha256=8SQw0bjRzRqAg-FuVz9aWjB2KBZqmCf38SyKAQ3rx5E,3025
17
17
  yutipy/utils/__init__.py,sha256=AZaqvs6AJwnqwJuodbGnHu702WSUqc8plVC16SppOcU,239
18
- yutipy/utils/helpers.py,sha256=SIVJHAE_p_8S-VTr-ftLIcIcdL81T9n7_Da0oDqF0D4,7413
19
- yutipy-2.3.2.dist-info/licenses/LICENSE,sha256=_89JsS2QnBG8tAb5-VWbJDj_uJ002zPJAYBJJdh3DPY,1071
20
- yutipy-2.3.2.dist-info/METADATA,sha256=qIgzE3l0YZFa3RkJE7jEQgUs9GOEVQVdrQdbwJWk9OU,6577
21
- yutipy-2.3.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
- yutipy-2.3.2.dist-info/entry_points.txt,sha256=BrgmanaPjQqKQ3Ip76JLcsPgGANtrBSURf5CNIxl1HA,106
23
- yutipy-2.3.2.dist-info/top_level.txt,sha256=t2A5V2_mUcfnHkbCy6tAQlb3909jDYU5GQgXtA4756I,7
24
- yutipy-2.3.2.dist-info/RECORD,,
18
+ yutipy/utils/helpers.py,sha256=_WF-6ltruY4i56xVAgcdeyIFToImjXRX9HL_TUFh6-Y,7411
19
+ yutipy-2.3.4.dist-info/licenses/LICENSE,sha256=_89JsS2QnBG8tAb5-VWbJDj_uJ002zPJAYBJJdh3DPY,1071
20
+ yutipy-2.3.4.dist-info/METADATA,sha256=voyZ2bxm30lhb__Ds0XmsroTDzHPF9IbYxHB8ABm-kY,6577
21
+ yutipy-2.3.4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
22
+ yutipy-2.3.4.dist-info/entry_points.txt,sha256=BrgmanaPjQqKQ3Ip76JLcsPgGANtrBSURf5CNIxl1HA,106
23
+ yutipy-2.3.4.dist-info/top_level.txt,sha256=t2A5V2_mUcfnHkbCy6tAQlb3909jDYU5GQgXtA4756I,7
24
+ yutipy-2.3.4.dist-info/RECORD,,
File without changes