[GH-ISSUE #2] no searchDesktop found in raw_hashes #58

Closed
opened 2026-03-01 17:50:00 +03:00 by kerem · 0 comments
Owner

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

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 <module> 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
kerem closed this issue 2026-03-01 17:50:00 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SpotAPI#58
No description provided.