Skip to content
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

youtube search fails to find a video if a channel is the first result… #159

Merged
merged 1 commit into from
Jun 6, 2015

Conversation

edwardslabs
Copy link
Member

If the first search result for a query is a channel a video_Id is not returned in the json so the plugin errors out. Setting the type parameter equal to video fixes this as channels and playlists are not returned.

Example of the issue:

.youtube owl city

@evieluvsrainbows
Copy link
Contributor

@lukeroge you gonna merge this? 😃

dmptrluke added a commit that referenced this pull request Jun 6, 2015
youtube search fails to find a video if a channel is the first result…
@dmptrluke dmptrluke merged commit 1a4c52b into CloudBotIRC:python3.4 Jun 6, 2015
linuxdaemon pushed a commit to linuxdaemon/CloudBot that referenced this pull request Sep 21, 2017
linuxdaemon pushed a commit to linuxdaemon/CloudBot that referenced this pull request Jan 5, 2018
…tions

Make regex hooks parse action messages as well
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants