我试图使用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个字符。我也没有找到任何关于哪些被归类为无效关键字的文档,所以我在这里有点困惑,到底是什么导致了这个问题
我相信YouTube要求关键字字符的总长度小于400(约)。看起来这里总共有484个字符,请尽量减少指定的关键字数
相关问题 更多 >
编程相关推荐