1
votes

I am using following rss feed to get videos from youtube. works fine. http://gdata.youtube.com/feeds/api/users/zeetv/uploads?alt=rss&v=2&orderby=published&client=ytapi-youtube-profile;

now i like to apply certain filter... for example: listing videos which has "Episode" in title.

http://gdata.youtube.com/feeds/api/users/zeetv/uploads?alt=rss&v=2&orderby=published&client=ytapi-youtube-profile&q=Episode;

But it doesnot filter out the videos,which matches "episode", instead it list all.

i had checked this link https://developers.google.com/youtube/2.0/developers_guide_protocol_api_query_parameters

and applied query string.

anyhelp is much appreciated. Thanks

2

2 Answers

0
votes

It seems like you can't query a users videos, like that.

You have to build your query like this: http://gdata.youtube.com/feeds/api/users/zeetv/uploads?q=Episode&fields=entry(title)

you can read more about the fields syntax here: https://developers.google.com/youtube/2.0/developers_guide_protocol_partial#Fields_Formatting_Rules

0
votes

The link provided in the question now has the answer. You should perform a search for the term you want and filter by author:

https://gdata.youtube.com/feeds/api/videos?q=episode&author=zeetv