Closed zsbai closed 1 year ago
有可能是因为 Twitter 最近的限流措施,是不是短时间内浏览了大量推文?现在的限制大概是15分钟50条,这个报错之后我找时间修一下
可能是被限制了,不过我这个ip倒是没有短时间浏览下载大量推特图片,7号报错后8号又尝试了另一个推文还是报错,刚才又试了几次还是不行 也可能是我这个vps的ip段被拉黑了 emmmm等您有时间了再看一下吧
======== Running on http://0.0.0.0:7900 ========
(Press CTRL+C to quit)
2023-07-12 12:10:25,734-0400 - INFO - nazurin.bot:167 - - Cleaned up temporary directory
2023-07-12 12:10:30,145-0400 - INFO - nazurin.middleware:25 - update:658614613 - Message 578: https://twitter.com/benevolels/status/1677592346597408768
2023-07-12 12:10:30,154-0400 - INFO - nazurin.bot:123 - update:658614613 - Collection update: site=twitter, match=('1677592346597408768',)
2023-07-12 12:10:30,164-0400 - INFO - nazurin.sites.twitter.api.web:114 - update:658614613 - Fetching tweet 1677592346597408768 from web API
2023-07-12 12:10:30,166-0400 - INFO - nazurin.sites.twitter.api.web:186 - update:658614613 - Fetching guest token
2023-07-12 12:10:30,171-0400 - INFO - aiohttp.web_log:206 - - 127.0.0.1 "POST /这里是bot api HTTP/1.0" 200 152 "-" "-"
2023-07-12 12:10:30,247-0400 - INFO - nazurin.sites.twitter.api.web:196 - update:658614613 - Fetched guest token: 1679161177434374148
2023-07-12 12:10:30,463-0400 - ERROR - nazurin.sites.twitter.api.web:146 - update:658614613 - Web API Error: 404,
_(
======== Running on http://0.0.0.0:7900 ======== (Press CTRL+C to quit) 2023-07-12 12:10:25,734-0400 - INFO - nazurin.bot:167 - - Cleaned up temporary directory 2023-07-12 12:10:30,145-0400 - INFO - nazurin.middleware:25 - update:658614613 - Message 578: https://twitter.com/benevolels/status/1677592346597408768 2023-07-12 12:10:30,154-0400 - INFO - nazurin.bot:123 - update:658614613 - Collection update: site=twitter, match=('1677592346597408768',) 2023-07-12 12:10:30,164-0400 - INFO - nazurin.sites.twitter.api.web:114 - update:658614613 - Fetching tweet 1677592346597408768 from web API 2023-07-12 12:10:30,166-0400 - INFO - nazurin.sites.twitter.api.web:186 - update:658614613 - Fetching guest token 2023-07-12 12:10:30,171-0400 - INFO - aiohttp.web_log:206 - - 127.0.0.1 "POST /这里是bot api HTTP/1.0" 200 152 "-" "-" 2023-07-12 12:10:30,247-0400 - INFO - nazurin.sites.twitter.api.web:196 - update:658614613 - Fetched guest token: 1679161177434374148 2023-07-12 12:10:30,463-0400 - ERROR - nazurin.sites.twitter.api.web:146 - update:658614613 - Web API Error: 404,
我这边没这个问题……试试重启之类的吧,如果有需要可以另开 Issue
奇怪的说 已经更新到最新的commit并重启了,我再试试看是不是ip的问题
Describe the bug 尝试发送推特链接时报错
Error output / Logs
Make sure to remove or mask all secrets, such as bot token and personal information!
Environment (please complete the following information): Python 3.9.2 Debian系统
Additional context 看了一下,在7月7号凌晨一点还是可以正常使用的,到了7月7号十二点就报错了...试了一下浏览器无痕模式不登陆的情况下是可以正常访问推文的,应该和推特之前的措施无关