youtube数据api将哪些内容归类为无效关键字?

2024-10-04 03:25:59 发布

您现在位置:Python中文网/ 问答频道 /正文

我试图使用youtube数据api上传视频,但由于某些原因,我在下面记录了错误,我使用的关键字是:

['ski mask the slump god x blueface type beat', 'ski mask the slump god x tyga type beat', 'ski mask the slump god x jasiah type beat', 'ski mask the slump god x bbno type beat', 'ski mask the slump god x jid type beat', 'ski mask the slump god x type beat', 'ski mask the slump god x splurge type beat', 'ski mask the slump god x zotiyac type beat', 'ski mask the slump god x smokepurpp type beat', 'ski mask the slump god x comethazine type beat', 'ski mask the slump god x gunna type beat', 'free type beat 2020', 'free dreamy beat']

错误是:

b'{\n "error": {\n "code": 400,\n "message": "The request metadata specifies invalid video keywords.",\n "errors": [\n
{\n "message": "The request metadata specifies invalid video keywords.",\n "domain": "youtube.video",\n "reason": "invalidTags",\n "location": "body.snippet.tags",\n
"locationType": "other"\n }\n ]\n }\n}\n'

除非我在搜索,否则我的关键字不会包含任何特殊字符、任何双空格,长度也不会超过500个字符。我也没有找到任何关于哪些被归类为无效关键字的文档,所以我在这里有点困惑,到底是什么导致了这个问题


Tags: thefreemessageyoutuberequestvideotype错误