使用python apiclient将视频插入到youtube播放列表中

时间:2017-02-27 15:10:55

标签: python youtube youtube-api youtube-data-api google-api-client

我正在尝试将youtube视频添加到公共YouTube视频播放列表中,但我一直收到403回复的原因是“playlistItemsNotAccessible”:

import random


while True:
    Random = random.randint(1,100)

    Guess = int(input("Please guess a number between 1 and 100: "))

    counter = 1


    while Guess != Random:
        if Guess > Random:
            print("Too high")
            Guess = int(input("Please guess the number: "))
        else:
            print("Too low")
            Guess = int(input("Please guess the number: "))
        counter += 1

    print("Well Done:")
    print("You took:",counter, "Guesses")

    choice = input("Would you like to continue? y/n")
    if choice == "n":
        break

帮助任何人?

0 个答案:

没有答案