YouTube error HTTP 429 - Too Many Requests

前端 未结 1 821
春和景丽
春和景丽 2021-01-23 22:26

I have some php code that fetches a youtube link and then gets its thumbnail. For that I am using this:

$str = file_get_contents(youtubelink);

相关标签:
1条回答
  • 2021-01-23 23:25

    They are probably blocking you. They have an API to use, https://developers.google.com/youtube/v3/.

    0 讨论(0)
提交回复
热议问题