-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in search #17
Comments
Should have said: this occurs if someone doesn't use int() to set max_results |
Hi @GryptpypeThynne that parameter should only be an int. If I'm understanding you you hit an error when you used a string for |
That's right yeah. I only came across the error when using input() to get |
Maybe we can make explicit dtypes for each argument. I think it makes the source code look super weird, but it might be better to change this up. I'll make a new issue for this, thanks @GryptpypeThynne |
On python 3.7.3 using search returns
File "C:\Program Files\Python37\lib\site-packages\youtube_api\youtube_api.py", line 740, in search if len(videos) >= max_results: TypeError: '>=' not supported between instances of 'int' and 'str'
The text was updated successfully, but these errors were encountered: