我想在频道列表中搜索 youtube 视频。在下面的代码中,我只能将一个“Channelid”传递给 youtube api。有没有办法传递多个频道 ID?
def youtube_search(options):
youtube = build(YOUTUBE_API_SERVICE_NAME, YOUTUBE_API_VERSION,
developerKey=DEVELOPER_KEY)
# Call the search.list method to retrieve results matching the specified
# query term.
search_response = youtube.search().list(
q=options.q,
part="id,snippet",
maxResults=options.max_results,
channelId=options.channelId
).execute()