[ ] 2. 解决TG ph文章上传限制,500页/每小时/每IP
ERROR exloli::exhentai > 上传 telegraph 失败 : api error: Try again later
经过测试,限制在于 500页/每小时/每IP ,注:与ph API无关
因此建议
2.1 新增ph代理池,遇到ph超时(api error: Try again later)自动切换代理IP
[ ] 3. 解决被ban IP 账户情况
ERROR exloli:: exhentai : Your IP address has been temporarily banned for excessive pageloads which indicate that you are usi> not found://tablel@class= "ITG gltc"] / tr[position ()> 1]
可能爬虫过快(可能是在检测搜索页面时、检测画廊页面时,下载图片时等方面过多过快导致)
因此建议
3.1 新增备用EH账户
3.2 新增爬页(搜索页&画廊页)延迟
3.3 新增EH代理池(有可能没意义,因为有时候被ban的是整个账户,而不是IP)
——功能建议
[ ] 1. TGph文章里引用一下上传者评论
[ ] 2. 手动指定修改画廊x页~x页 具体说明:由于一些单行本含杂多类xp,我建议能手动指定修改画廊x页 ~ x页 列如 https://exhentai.org/g/1725343/95133c4985/ 该画廊 符合萝莉XP要求的页是,5-6页、8-15页和32-47页 建议直接回复频道信息进行指定修改,列命令如 /modify 5-6,8-15,32-47
——功能优化
[ ] 1. 修复上传图片大于4M,无限重试直到失败问题,应该是跳过该大图片(并在ph文章里写“xx图片过大已跳过”)继续下一张 INFO exloli::exhentai > 第 1 / 100 张图片 DEBUG exloli::exhentai > 获取图片真实地址中:https://exhentai.org/s/809adb4a5a/1782936-1 INFO exloli::exhentai > 第 2 / 100 张图片 DEBUG exloli::exhentai > 获取图片真实地址中:https://exhentai.org/s/bf1d233349/1782936-2 INFO exloli::exhentai > 第 3 / 100 张图片 DEBUG exloli::exhentai > 获取图片真实地址中:https://exhentai.org/s/cc700a74e6/1782936-3 DEBUG exloli::exhentai > 下载图片中:https:/xxx/71852310ugoira1920x1080.gif DEBUG exloli::exhentai > 上传图片中... ERROR exloli::exhentai > 获取图片地址失败:上传 telegraph 失败:api error: File too big: 5.2MB ……重复4次 ERROR exloli::bot::bot > 上传出错:无法获图片地址
[ ] 2. 解决TG ph文章上传限制,500页/每小时/每IP ERROR exloli::exhentai > 上传 telegraph 失败 : api error: Try again later 经过测试,限制在于 500页/每小时/每IP ,注:与ph API无关 因此建议 2.1 新增ph代理池,遇到ph超时(api error: Try again later)自动切换代理IP
[ ] 3. 解决被ban IP 账户情况 ERROR exloli:: exhentai : Your IP address has been temporarily banned for excessive pageloads which indicate that you are usi> not found://tablel@class= "ITG gltc"] / tr[position ()> 1] 可能爬虫过快(可能是在检测搜索页面时、检测画廊页面时,下载图片时等方面过多过快导致) 因此建议 3.1 新增备用EH账户 3.2 新增爬页(搜索页&画廊页)延迟 3.3 新增EH代理池(有可能没意义,因为有时候被ban的是整个账户,而不是IP)