mirror of
https://github.com/Aran404/SpotAPI.git
synced 2026-04-25 16:55:50 +03:00
[GH-ISSUE #2] no searchDesktop found in raw_hashes #58
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/SpotAPI#58
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Jeremyop on GitHub (Aug 31, 2024).
Original GitHub issue: https://github.com/Aran404/SpotAPI/issues/2
Traceback (most recent call last):
File "C:\Users\USER\Downloads\spotapi\test.py", line 161, in part_hash
return self.raw_hashes.split(f'"{name}","query","')[1].split('"')[0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\USER\Downloads\spotapi\test.py", line 233, in
result = song_search.query_songs("Imagine Dragons", limit=5)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\USER\Downloads\spotapi\test.py", line 214, in query_songs
"sha256Hash": self.base.part_hash("searchDesktop"),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\USER\Downloads\spotapi\test.py", line 163, in part_hash
return self.raw_hashes.split(f'"{name}","mutation","')[1].split('"')[0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range