Closed ghost closed 1 year ago
看看配置文件是什么样的?
最小配置
看看配置文件是什么样的?
最小配置,只填了token
看看.env文件,里面是不是environment=dev 顺便把nonebot启动输出贴上来,看看配置项成功读取了没有
看看.env文件,里面是不是environment=dev 顺便把nonebot启动输出贴上来,看看配置项成功读取了没有
是没添加代理吗?
是,国内没代理就没法访问p站获取access_token
From: yangdffdzvzvr @.> Sent: Wednesday, November 23, 2022 11:53:50 PM To: ssttkkl/nonebot-plugin-pixivbot @.> Cc: ssttkkl @.>; Comment @.> Subject: Re: [ssttkkl/nonebot-plugin-pixivbot] 内部错误:<class 'pixivpy_async.error.NoTokenError'>No access_token Found! (Issue #97)
看看.env文件,里面是不是environment=dev 顺便把nonebot启动输出贴上来,看看配置项成功读取了没有
是没添加代理吗?
― Reply to this email directly, view it on GitHubhttps://github.com/ssttkkl/nonebot-plugin-pixivbot/issues/97#issuecomment-1325294179, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEEHL4V4M5MIPOV3ARDZF4TWJY4Y5ANCNFSM6AAAAAASI5PK2I. You are receiving this because you commented.Message ID: @.***>
我昨天晚上配置的时候也遇到同样问题,我想问下pixiv_proxy的格式是什么。proxy格式当时填的是:127.0.0.1:xxxxx,我尝试将获取fresh_token和access_token的接口直接接入bapi.py这个文件从而拿到数据,然后运行的时候报错,后来换成socks5:127.0.0.1:xxxxx,报错host为空,现在上班没法提供log
我是用http://的
我昨天晚上配置的时候也遇到同样问题,我想问下pixiv_proxy的格式是什么。proxy格式当时填的是:127.0.0.1:xxxxx,我尝试将获取fresh_token和access_token的接口直接接入bapi.py这个文件从而拿到数据,然后运行的时候报错,后来换成socks5:127.0.0.1:xxxxx,报错host为空,现在上班没法提供log
协议://地址:端口号
比如socks5就是socks5://127.0.0.1:xxxx
我已经搞好了,就是使用中R18不能有效过滤,暂时不太敢用
过滤R18最好的方式是把你账号的R18开关关掉() 插件过滤实现的方式是过滤tag,遇到不好好标tag的画师就没辙了
内部错误:<class 'pixivpy_async.error.NoTokenError'>No access_token Found!