Part 1: Using YouTube’s Python API for Data Science
Pres Nichols
21115

It doesn’t work for me; when I run

“test = youtube_search(“spinners”)”

I get:

Traceback (most recent call last):
 File “<stdin>”, line 1, in <module>
 File “youtube_videos.py”, line 30, in youtube_search
 id=video_ids,
NameError: global name ‘video_ids’ is not defined

Something seems to have failed.

Like what you read? Give Chris Worthington a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.