开发者

Complex YouTube search query

开发者 https://www.devze.com 2023-04-08 15:24 出处:网络
I have to search in a subset of YouTube results. For example, the query should search for some song title that belongs to a set of artists. Is it possible to group expressions?

I have to search in a subset of YouTube results. For example, the query should search for some song title that belongs to a set of artists. Is it possible to group expressions? For example, 开发者_JS百科I would like to find all videos titled Vogue by either Madonna or Rihanna. So the required query should like something like this:

(Madonna|Rihanna)+Vogue.

The problem with this query is that the results returned will include all the songs by Rihanna and Madonna and all the videos that have Vogue in the title. And this I don't want. Is there any way to specify complex logical expression to YouTube search API?


Just be more precise with your logic and use:

madonna+vogue|rihanna+vogue
0

精彩评论

暂无评论...
验证码 换一张
取 消