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

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 “”, line 30, in youtube_search
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.