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

Searching by search query and user together #223

Open
martynbiz opened this issue May 11, 2014 · 1 comment
Open

Searching by search query and user together #223

martynbiz opened this issue May 11, 2014 · 1 comment

Comments

@martynbiz
Copy link

Is it possible to search by query within a specific user (or users) videos? If I try:

client.videos_by(:user => '4oDComedy ', :query => 'inbetweeners')

...it just gives me videos from the user, but not the query search within the videos. The YouTube API should allow querying for both user and query string. Is this a bug, or is this feature not part of the gem?

@shivamd
Copy link
Contributor

shivamd commented Jun 11, 2014

@martynbiz
Try the following.
client.videos_by(:query => "some surprising things", :author => "vsauce")
equates to:
https://www.youtube.com/user/Vsauce/search?query=some+surprising+things

@shivamd shivamd mentioned this issue Jun 11, 2014
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

No branches or pull requests

2 participants