Php 获取Youtube';s使用Youtube API搜索页面URL
我正在PHP中使用YouTube API 对于指定的查询,我需要:Php 获取Youtube';s使用Youtube API搜索页面URL,php,youtube,youtube-api,youtube-data-api,Php,Youtube,Youtube Api,Youtube Data Api,我正在PHP中使用YouTube API 对于指定的查询,我需要: 搜索页面的URL 频道中搜索页面的URL 例如: 如果查询为“Luke Cage”,我需要URL: https://www.youtube.com/results?search_query=luke+框架 如果我只想搜索Netflix频道,我需要URL: https://www.youtube.com/user/NewOnNetflix/search?query=luke+框架 我知道的唯一方法是通过检查找出url。
- 搜索页面的URL
- 频道中搜索页面的URL
- 如果查询为“Luke Cage”,我需要URL:
https://www.youtube.com/results?search_query=luke+框架
- 如果我只想搜索Netflix频道,我需要URL:
https://www.youtube.com/user/NewOnNetflix/search?query=luke+框架