'Using Pafy.published raises an error instead of replying with the publish date of the video

Code:

import pafy

video = pafy.new("https://www.youtube.com/watch?v=dQw4w9WgXcQ")
try:
    print(video.published)
except pafy.util.GdataError as e:
    print(e)

Output: Youtube Error 403: The request cannot be completed because you have exceeded your <a href="/youtube/v3/getting-started#quota">quota</a>.

Should I make my own api key? Or is this related to YouTube's API?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source