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
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