Imgur 屏蔽了我的 IP?
Imgur block my IP?
我每半小时上传12张图片到imgur
但是遇到这个问题。
Imgur ERROR message: {'exception': [], 'code': 429, 'type':
'ImgurException', 'message': 'You are uploading too fast. Please wait
-0 more minutes.'}
我不明白为什么是 -0 分钟。我想我达到了我的速率限制,所以尝试查看我的速率限制。不过看起来很正常。
{
"data": {
"UserLimit": 2000,
"UserRemaining": 2000,
"UserReset": 1521378886,
"ClientLimit": 12500,
"ClientRemaining": 12500
},
"success": true,
"status": 200
}
我用同一个CLIENTID在不同的机器上试过,上传功能没问题。
我的IP是不是被imgur封禁了?他们什么时候会释放我的 IP?
更新:
我发现每个IP imgur 会对待不同的用户。
但是我的机器卷曲学分 api。回复看起来不错。
curl --request GET \
--url 'https://api.imgur.com/3/credits' \
--header 'Authorization: Client-ID xxx'
{"data":{"UserLimit":500,"UserRemaining":497,"UserReset":1521394842,"ClientLimit":12500,"ClientRemaining":12457},"success":true,"status":200}⏎
当我运行上传图片时。它仍然会显示
Imgur ERROR message: {'message': 'You are uploading too fast. Please
wait -0 more minutes.', 'type': 'ImgurException', 'code': 429,
'exception': []}
但是,其他图像函数工作正常,例如获取图像。
显然是“there is an upload limit of 50 images per IP address per hour”。
我不知道他们为什么不在 api.imgur.com 主页上说明这一点,这是 API...
的基本信息
我遇到了同样的问题,但是,这与我的 IP 无关。
我检查了文件扩展名,它是 .heic
文件扩展名 - 这对 Imgur 无效。
检查 source 后,我将图像保存为有效的文件扩展名 - 在我的例子中,为 .png
。
通过将文件扩展名更改为有效扩展名,我能够上传图片。
来源:Upload to Imgur "File type invalid (1)" error 在 Reddit 上。
我每半小时上传12张图片到imgur
但是遇到这个问题。
Imgur ERROR message: {'exception': [], 'code': 429, 'type': 'ImgurException', 'message': 'You are uploading too fast. Please wait -0 more minutes.'}
我不明白为什么是 -0 分钟。我想我达到了我的速率限制,所以尝试查看我的速率限制。不过看起来很正常。
{
"data": {
"UserLimit": 2000,
"UserRemaining": 2000,
"UserReset": 1521378886,
"ClientLimit": 12500,
"ClientRemaining": 12500
},
"success": true,
"status": 200
}
我用同一个CLIENTID在不同的机器上试过,上传功能没问题。
我的IP是不是被imgur封禁了?他们什么时候会释放我的 IP?
更新:
我发现每个IP imgur 会对待不同的用户。 但是我的机器卷曲学分 api。回复看起来不错。
curl --request GET \
--url 'https://api.imgur.com/3/credits' \
--header 'Authorization: Client-ID xxx'
{"data":{"UserLimit":500,"UserRemaining":497,"UserReset":1521394842,"ClientLimit":12500,"ClientRemaining":12457},"success":true,"status":200}⏎
当我运行上传图片时。它仍然会显示
Imgur ERROR message: {'message': 'You are uploading too fast. Please wait -0 more minutes.', 'type': 'ImgurException', 'code': 429, 'exception': []}
但是,其他图像函数工作正常,例如获取图像。
显然是“there is an upload limit of 50 images per IP address per hour”。
我不知道他们为什么不在 api.imgur.com 主页上说明这一点,这是 API...
的基本信息我遇到了同样的问题,但是,这与我的 IP 无关。
我检查了文件扩展名,它是 .heic
文件扩展名 - 这对 Imgur 无效。
检查 source 后,我将图像保存为有效的文件扩展名 - 在我的例子中,为 .png
。
通过将文件扩展名更改为有效扩展名,我能够上传图片。
来源:Upload to Imgur "File type invalid (1)" error 在 Reddit 上。