Skip to content

Traceback caused when fetching comments from video because of "items" #10

Description

@coffeebreak42

On multiple machines I've been getting this error when using the fetch comment feature from a video url:
Traceback (most recent call last):
File "main.py", line 58, in
main()
File "main.py", line 52, in main
vc.get_video_comments()
File "/content/python-youtube-api/youtube/video_comments.py", line 52, in get_video_comments
self.load_comments(url_response)
File "/content/python-youtube-api/youtube/video_comments.py", line 27, in load_comments
for item in mat["items"]:
KeyError: 'items'

Anyone else getting this problem or have figured it out?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions