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
Starting this script with the environment-set API key yields:
$ python ytsubs.py myyoutubeuser
Traceback (most recent call last):
File "ytsubs.py", line 119, in <module>
playlists = get_playlists(get_channel_for_user(username))
File "ytsubs.py", line 50, in get_channel_for_user
return data['items'][0]['id']
IndexError: list index out of range
I do provide my correct youtube user, what I'm doing wrong?
python version is 2.7.10rc1
The text was updated successfully, but these errors were encountered:
I have the same problem. I tried different accounts. The answer form server is: {u'items': [], u'kind': u'youtube#channelListResponse', u'etag': u'"..."', u'pageInfo': {u'resultsPerPage': 5, u'totalResults': 0}}
Starting this script with the environment-set API key yields:
I do provide my correct youtube user, what I'm doing wrong?
python version is 2.7.10rc1
The text was updated successfully, but these errors were encountered: