Skip to content

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

Merged
dmptrluke merged 1 commit intoCloudBotIRC:python3.4from
edwardslabs:yt_search
Jun 6, 2015
Merged

youtube search fails to find a video if a channel is the first result…#159
dmptrluke merged 1 commit intoCloudBotIRC:python3.4from
edwardslabs:yt_search

Conversation

@edwardslabs
Copy link
Copy Markdown
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
Copy Markdown
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