You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
---------------------------------------------------------------------------
IndexError Traceback (most recent call last)
<ipython-input-2-228b7e527447> in <module>()
1 query = "smashing pumpkins"
----> 2 results = ytmusic.search(query)
/usr/local/lib/python3.6/dist-packages/ytmusicapi/parsers/utils.py in get_flex_column_item(item, index)
34
35 def get_flex_column_item(item, index):
---> 36 if 'text' not in item['flexColumns'][index]['musicResponsiveListItemFlexColumnRenderer'] or \
37 'runs' not in item['flexColumns'][index]['musicResponsiveListItemFlexColumnRenderer']['text']:
38 return None
IndexError: list index out of range
Tried different queries and also tried with both 0.10.2 and 0.11.0 versions
The text was updated successfully, but these errors were encountered:
chaos87
changed the title
search returns 'list index out of range'
search fails with 'list index out of range'
Dec 16, 2020
Tried different queries and also tried with both 0.10.2 and 0.11.0 versions
The text was updated successfully, but these errors were encountered: