神代綺凛

[开源] 二次元搜图QQ机器人
因酷Q停止运营,本项目已转为依赖 go-cqhttp R.I.P. CoolQ
扫描右侧二维码阅读全文
13
2018/07

[开源] 二次元搜图QQ机器人

因酷Q停止运营,本项目已转为依赖 go-cqhttp

R.I.P. CoolQ

Head Pic: 「第六駆逐隊」/「ふわり」のイラスト [pixiv]

搜图机器人

QQ:*

抱歉,因各种复杂的原因,本体已经转为私用,现已不再公开允许加好友或群,有兴趣可自行部署玩耍

开源

项目最初是使用酷Q的易语言 SDK 开发,后使用 Node.js 重写并开源

开源版本不含咬人功能,因为懒得移植了……

用法及功能

请见 GitHub README 以及 wiki

示例

普通搜图

利用 ascii2d 搜索局部图

搜番

搜本子

搬瓦工VPS优惠套餐,建站稳如狗,支持支付宝,循环出账94折优惠码BWH3HYATVBJW
年付$47CN2线路,1核/1G内存/20G硬盘/1T@1Gbps【点击购买
季付$47CN2 GIA线路,1核/1G内存/20G硬盘/1T@2.5Gbps【点击购买
Last modification:July 21st, 2022 at 10:15 am
If you think my article is useful to you, please feel free to appreciate

Leave a Comment

667 comments

  1. hana  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 112.0.0.0(Google Chrome 112.0.0.0)
    vits转长一点的文本会出错
    vits こんばんは、今日も一日お疲れ様でした。あなた(比这段更长的就会出错)
    [2023-04-27 01:18:22] [WARNING]: 转换消息 [CQ:record,file=http://127.0.0.1:23456
    /voice?text=%E3%81%93%E3%82%93%E3%81%B0%E3%82%93%E3%81%AF%E3%80%81%E4%BB%8A%E6%9
    7%A5%E3%82%82%E4%B8%80%E6%97%A5%E3%81%8A%E7%96%B2%E3%82%8C%E6%A7%98%E3%81%A7%E3%
    81%97%E3%81%9F%E3%80%82%E3%81%82%E3%81%AA%E3%81%9F&format=silk] 到MiraiGo El
    ement时出现错误: Get "http://127.0.0.1:23456/voice?text=%E3%81%93%E3%82%93%E3%81
    %B0%E3%82%93%E3%81%AF%E3%80%81%E4%BB%8A%E6%97%A5%E3%82%82%E4%B8%80%E6%97%A5%E3%8
    1%8A%E7%96%B2%E3%82%8C%E6%A7%98%E3%81%A7%E3%81%97%E3%81%9F%E3%80%82%E3%81%82%E3%
    81%AA%E3%81%9F&format=silk": context deadline exceeded (Client.Timeout exceeded
    while awaiting headers).
    1. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 112.0.0.0(Google Chrome 112.0.0.0)
      @hana 看看 vits-simple-api 的日志,是不是生成出错了
      1. hana  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 112.0.0.0(Google Chrome 112.0.0.0)
        @神代綺凛 应该不是,浏览器输入链接可以正常生成
        1. 神代綺凛  Mac OS X 10.15.7(Mac OS X 10.15.7) / Google Chrome 112.0.0.0(Google Chrome 112.0.0.0)
          @hana 更新下最新代码,应该解决了
          1. hana  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 112.0.0.0(Google Chrome 112.0.0.0)
            @神代綺凛 好了ヾ(≧∇≦*)ゝ
  2. WwwwGaa  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 110.0.0.0(Google Chrome 110.0.0.0)
    chatgpt提示ERROR: Client network socket disconnected before secure TLS connection was established
    1. 神代綺凛  Mac OS X 10.15.7(Mac OS X 10.15.7) / Google Chrome 110.0.0.0(Google Chrome 110.0.0.0)
      @WwwwGaa 挂代理,配置 bot.proxy
  3. anonymous  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 108.0.0.0(Google Chrome 108.0.0.0)
    大佬,请问一下ascii2d 搜索失败是什么原因啊?已经按照wiki调整过了还是不行(好像不是OpenSSL 错误),报错代码在下面

    (function(){var js = "window['__CF$cv$params']={r:'7764232dabf78d0c',m:'IX13XoKlWWVWWuePkNWZGee.UePL_r3xID4FOZb39ZM-1670488209-0-AWYjmeFSawZ6r81mPzzLsgtuFEXg6ro/s1+aOEzJ0/PogSM7ektAIIlLABnN7ayKtWl8j8Co0SZXrtNoboY81wg9uEf0UTQ63l2rU2Eht94fvUxaEi+WcfLxaXztZ/o2Xg==',s:[0xd381de0dc2,0x9ae1c6d4c9],u:'/cdn-cgi/challenge-platform/h/g'};var now=Date.now()/1000,offset=14400,ts=''+(Math.floor(now)-Math.floor(now%offset)),_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/h/g/scripts/alpha/invisible.js?ts='+ts,document.getElementsByTagName('head')[0].appendChild(_cpo);";var _0xh = document.createElement('iframe');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = 'absolute';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = 'none';_0xh.style.visibility = 'hidden';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('script');_0xj.nonce = '';_0xj.innerHTML = js;_0xi.getElementsByTagName('head')[0].appendChild(_0xj);}}if (document.readyState !== 'loading') {handler();} else if (window.addEventListener) {document.addEventListener('DOMContentLoaded', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== 'loading') {document.onreadystatechange = prev;handler();}};}})();
    
    12/8/2022, 4:30:09 PM [error] ascii2d
    Error
        at /home/tencentrobot/cqsearch/cq-picsearcher-bot/src/ascii2d.js:33:15
        at processTicksAndRejections (internal/process/task_queues.js:95:5)
        at async retryAsync (/home/tencentrobot/cqsearch/cq-picsearcher-bot/src/utils/retry.js:11:14)
        at async doSearch (/home/tencentrobot/cqsearch/cq-picsearcher-bot/src/ascii2d.js:25:37)
        at async searchImg (/home/tencentrobot/cqsearch/cq-picsearcher-bot/main.js:580:54)
    1. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 108.0.0.0(Google Chrome 108.0.0.0)
      @anonymous 新版本已经提供了使用 Puppeteer 绕过 cf challenge 的方法,详见 wiki

      新版本变动较大,更新方法见 CHANGELOG

      1. anonymous  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 108.0.0.0(Google Chrome 108.0.0.0)
        @神代綺凛 安装好Puppeteer和依赖以后ascii2d搜索还是会被cf拦下来,请问是我哪里没配置对吗(已开启bot.ascii2dUsePuppeteer,已使用npm run update更新)|´・ω・)ノ

        (function(){var js = "window['__CF$cv$params']={r:'778324f16eff19f0',m:'UewrdqtrMrKSfTPKHRlAwmR3rZWL.asqO0PPfn57kEQ-1670813340-0-AW8StA5GuFyk8wRcBTduLKvu8g3WYhYJ45O8IOlGUWNd4sIPhspQ5pC5OuhSTc2bE4boNIlv0kkZvVrkA8NRfsMKcl7zgLv6L+OdfR4p4+ZXVNplQYSCwdJBZ8SlyWz9YQ==',s:[0x98913b43c6,0xcb1713f6af],u:'/cdn-cgi/challenge-platform/h/b'};var now=Date.now()/1000,offset=14400,ts=''+(Math.floor(now)-Math.floor(now%offset)),_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/h/b/scripts/alpha/invisible.js?ts='+ts,document.getElementsByTagName('head')[0].appendChild(_cpo);";var _0xh = document.createElement('iframe');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = 'absolute';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = 'none';_0xh.style.visibility = 'hidden';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('script');_0xj.nonce = '';_0xj.innerHTML = js;_0xi.getElementsByTagName('head')[0].appendChild(_0xj);}}if (document.readyState !== 'loading') {handler();} else if (window.addEventListener) {document.addEventListener('DOMContentLoaded', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== 'loading') {document.onreadystatechange = prev;handler();}};}})();
        
        12/12/2022, 10:49:05 AM [error] ascii2d
        Error
            at file:///home/tencentrobot/cqsearch/cq-picsearcher-bot/src/plugin/ascii2d.mjs:37:15
            at processTicksAndRejections (internal/process/task_queues.js:95:5)
            at async retryAsync (file:///home/tencentrobot/cqsearch/cq-picsearcher-bot/src/utils/retry.mjs:11:14)
            at async doSearch (file:///home/tencentrobot/cqsearch/cq-picsearcher-bot/src/plugin/ascii2d.mjs:29:37)
            at async searchImg (file:///home/tencentrobot/cqsearch/cq-picsearcher-bot/src/index.mjs:582:54)
        1. 神代綺凛  Mac OS X 10.15.7(Mac OS X 10.15.7) / Google Chrome 108.0.0.0(Google Chrome 108.0.0.0)
          @anonymous 在这前面有 Puppeteer 字样的错误日志吗
          1. anonymous  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 108.0.0.0(Google Chrome 108.0.0.0)
            @神代綺凛 之前有报Puppeteer的lib依赖找不到,使用apt-get装完依赖以后就直接被CF拦截了
            1. 神代綺凛  Mac OS X 10.15.7(Mac OS X 10.15.7) / Google Chrome 108.0.0.0(Google Chrome 108.0.0.0)
              @anonymous 如果被拦死了或者遇到 recaptcha 应该会有 Puppeteer get xxx error 这样的错误日志,而且会卡半分钟

              或者你打开 bot.debug 配置,看看触发请求的时候是否有

              Puppeteer launching
              Puppeteer launched
              Puppeteer get xxxxx

              这样的日志

              1. anonymous  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 108.0.0.0(Google Chrome 108.0.0.0)
                @神代綺凛 有的,会先报Puppeteer的错误,然后就是被CF拦截

                Puppeteer launching
                Puppeteer launched
                Puppeteer get https://ascii2d.net/search/url/https://gchat.qpic.cn/gchatpic_new/0/0-0-3635B6213DF8E762476D46EE078C103E/0
                [error] ascii2d url: https://ascii2d.net/
                1. 神代綺凛  Mac OS X 10.15.7(Mac OS X 10.15.7) / Google Chrome 108.0.0.0(Google Chrome 108.0.0.0)
                  @anonymous 更新下代码,保持 bot.debug 开启,然后再触发下,日志应该会有一个完整的 html,在[error] ascii2d url: https://ascii2d.net/这行后面,发一下我看看
                  1. anonymous  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 108.0.0.0(Google Chrome 108.0.0.0)
                    @神代綺凛 这个吗?

                    <html lang="ja"><head>
                    <meta charset="utf-8">
                    <meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0" name="viewport">
                    <title>二次元画像詳細検索</title>
                    <link rel="shortcut icon" type="image/x-icon" href="/assets/favicon-461e7af86f6c1a73f716cf8c729e65d6164851b66470932d01ef928ebbaed6ba.ico">
                    <link rel="stylesheet" media="screen" href="/assets/application-2e127fee08fa600eb645946ab08a0881b955052a83c54c9427c4cf91a3a5aa72.css" data-turbolinks-track="true">
                    <script src="/assets/application-a22893f0b18b00d2bf90905be4944cf428ae7d14d197fe614214024508d27f01.js" data-turbolinks-track="true"></script>
                    
                    <meta name="csrf-param" content="authenticity_token">
                    <meta name="csrf-token" content="wNYWYsoa5jAc0FsD0uUeQHAQuN7sBkJPJbAxQ01rindoeGkWrfHBs81xaSshBKcmw19FtrXXup6++xc+wgUqHg==">
                    </head>
                    <body>
                    <div class="container">
                    <header class="navbar navbar-static-top" id="header" role="banner">
                    <div class="clearfix">
                    <div class="row">
                    <a class="hidden-md-up nav-item nav-link navbar-brand" href="/">二次元画像詳細検索</a>
                    <button class="hidden-md-up navbar-toggler pull-xs-right" data-target="#menu-bar" data-toggle="collapse" type="button">
                    <span class="small navbar-menu">目次</span>
                    </button>
                    </div>
                    <div class="row">
                    <div class="collapse navbar-toggleable-sm" id="menu-bar">
                    <ul class="nav navbar-nav pull-md-right">
                    <li class="nav-item">
                    <a class="nav-link" href="/readme">説明</a>
                    </li>
                    <li class="nav-item">
                    <a class="nav-link" href="/recently">最近の検索</a>
                    </li>
                    <li class="nav-item">
                    <a class="nav-link" href="/ranking/daily">ランキング</a>
                    </li>
                    <li class="nav-item dropdown">
                    <a aria-expanded="false" class="dropdown-toggle nav-link" data-toggle="dropdown" href="#" role="button">ツール</a>
                    <div class="dropdown-menu">
                    <a class="dropdown-item" href="https://chrome.google.com/webstore/detail/dlnbkfiafmkajgbhpdfmkeljamdlfelo" rel="noopener" target="_blank">Chrome拡張</a>
                    <div class="dropdown-divider"></div>
                    <a class="dropdown-item" href="https://addons.mozilla.org/ja/firefox/addon/256705/" rel="noopener" target="_blank">Firefox拡張</a>
                    <div class="dropdown-divider"></div>
                    <a class="dropdown-item" href="https://microsoftedge.microsoft.com/addons/detail/ohjihjimkibfeigmbkijiklcamdenido" target="_blank">Edge拡張</a>
                    </div>
                    </li>
                    <li class="nav-item dropdown">
                    <a aria-expanded="false" class="dropdown-toggle nav-link" data-toggle="dropdown" href="#" role="button">連絡先</a>
                    <div class="dropdown-menu">
                    <a class="dropdown-item" href="https://jbbs.shitaraba.net/computer/42759/" rel="noopener" target="_blank">したらば掲示板</a>
                    <div class="dropdown-divider"></div>
                    <a class="dropdown-item" href="https://twitter.com/ascii2d" rel="noopener" target="_blank">twitter</a>
                    <div class="dropdown-divider"></div>
                    <a class="dropdown-item" href="mailto:webmaster@ascii2d.net">webmaster@ascii2d.net</a>
                    </div>
                    </li>
                    </ul>
                    </div>
                    </div>
                    </div>
                    </header>
                    
                    <div class="top-page">
                    <h2 class="text-xs-center m-t-2 hidden-xs-down">二次元画像詳細検索</h2>
                    <form class="text-xs-center m-t-2" action="/search/uri" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓"><input type="hidden" name="authenticity_token" value="wNYWYsoa5jAc0FsD0uUeQHAQuN7sBkJPJbAxQ01rindoeGkWrfHBs81xaSshBKcmw19FtrXXup6++xc+wgUqHg=="><h6>インターネットに画像がある場合</h6>
                    <div class="row m-t-2">
                    <div class="col-sm-3 hidden-xs-down"></div>
                    <div class="form-group col-sm-5 col-xs-12">
                    <input class="form-control" id="uri-form" name="uri" placeholder="画像のURL" type="url">
                    </div>
                    <div class="col-sm-1 col-xs-12">
                    <button class="btn btn-secondary" name="search" type="submit">検索</button>
                    </div>
                    <div class="col-sm-3 hidden-xs-down"></div>
                    </div>
                    </form><form id="file_upload" class="text-xs-center m-t-1" enctype="multipart/form-data" action="/search/file" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="✓"><input type="hidden" name="authenticity_token" value="wNYWYsoa5jAc0FsD0uUeQHAQuN7sBkJPJbAxQ01rindoeGkWrfHBs81xaSshBKcmw19FtrXXup6++xc+wgUqHg=="><h6>画像ファイルを持って いる場合</h6>
                    <div class="row m-t-2">
                    <div class="col-sm-3 hidden-xs-down"></div>
                    <div class="form-group col-sm-5 col-xs-12">
                    <input class="form-control" id="file-form" name="file" placeholder="画像のパス" type="file">
                    </div>
                    <div class="col-sm-1 col-xs-12">
                    <button class="btn btn-secondary" name="search" type="submit">検索</button>
                    </div>
                    <div class="col-sm-3 hidden-xs-down"></div>
                    </div>
                    </form></div>
                    
                    </div>
                    <script>(function(){var js = "window['__CF$cv$params']={r:'77869ceb1b0e19da',m:'RgPb82FPaua4C43pYoSSEKo0wPn9w7w8GX2UPJPDg8E-1670849711-0-AXqmS873VW5VsmaRQASzB622cshYUSyd3lbPbzV+C/T0KmgCFsB7NpLz1cFBj/X4i9s4r93t6pZbb+cs0S4Zfh8kGqlmPoukY/bIPmpYTeCa83W0vxfvWnXSoOmh+0uyVQ==',s:[0x2a59f9ad6a,0x14d2a4610a],u:'/cdn-cgi/challenge-platform/h/b'};var now=Date.now()/1000,offset=14400,ts=''+(Math.floor(now)-Math.floor(now%offset)),_cpo=document.createElement('script');_cpo.nonce='',_cpo.src='/cdn-cgi/challenge-platform/h/b/scripts/alpha/invisible.js?ts='+ts,document.getElementsByTagName('head')[0].appendChild(_cpo);";var _0xh = document.createElement('iframe');_0xh.height = 1;_0xh.width = 1;_0xh.style.position = 'absolute';_0xh.style.top = 0;_0xh.style.left = 0;_0xh.style.border = 'none';_0xh.style.visibility = 'hidden';document.body.appendChild(_0xh);function handler() {var _0xi = _0xh.contentDocument || _0xh.contentWindow.document;if (_0xi) {var _0xj = _0xi.createElement('script');_0xj.nonce = '';_0xj.innerHTML = js;_0xi.getElementsByTagName('head')[0].appendChild(_0xj);}}if (document.readyState !== 'loading') {handler();} else if (window.addEventListener) {document.addEventListener('DOMContentLoaded', handler);} else {var prev = document.onreadystatechange || function () {};document.onreadystatechange = function (e) {prev(e);if (document.readyState !== 'loading') {document.onreadystatechange = prev;handler();}};}})();</script><iframe height="1" width="1" style="position: absolute; top: 0px; left: 0px; border: none; visibility: hidden;"></iframe>
                    
                    </body></html>
                    1. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 108.0.0.0(Google Chrome 108.0.0.0)
                      @anonymous 嗯,目前你的情况不是被 cf 拦截,而是一访问 api 就会被重定向到首页,以前有部分用户也会遇到这个问题,原因不明暂无解决方案,猜测可能有 ip 段黑名单
                      1. anonymous  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 108.0.0.0(Google Chrome 108.0.0.0)
                        @神代綺凛 好的,谢谢大佬|´・ω・)ノ
    2. 神代綺凛  Mac OS X 10.15.7(Mac OS X 10.15.7) / Google Chrome 108.0.0.0(Google Chrome 108.0.0.0)
      @anonymous 吃 cf 5秒盾了,后面我统一出个 puppeteer 解决方案吧……
      1. anonymous  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 108.0.0.0(Google Chrome 108.0.0.0)
        @神代綺凛 谢谢大佬!|´・ω・)ノ
  4. 伤城  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 107.0.0.0(Google Chrome 107.0.0.0)
    大佬,请问一下api.lolicon.app/setu/v2这个接口是不是最近挂掉了
    1. 神代綺凛  Mac OS X 10.15.7(Mac OS X 10.15.7) / Google Chrome 107.0.0.0(Google Chrome 107.0.0.0)
      @伤城 是有点问题,可能负载太高了
  5. rance  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 106.0.0.0(Google Chrome 106.0.0.0)
    大佬,我想请问一下您这个--book 搜本子的指令要加在哪里呢 而且我这边色图指令出来后全是链接 如果想要直接显示图片应该怎么设置呢 谢谢
    1. 神代綺凛  Mac OS X 10.15.7(Mac OS X 10.15.7) / Google Chrome 107.0.0.0(Google Chrome 107.0.0.0)
      @rance --book 直接加在消息里,跟图片一起,作用只是强制使用本子分类搜索,一般情况其实不需要加,如果直接搜索结果最高相似度就是本子那么就会直接发送本子结果
  6. 风灵  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 106.0.0.0(Google Chrome 106.0.0.0)
    大佬,您好能看一下你的config设置吗?我这边都好了但是不管发什么他只会自动回复【必须要发送图片我才能帮你找噢_(:3」」
    支持批量!

    有什么解决方法吗?
    然后还有提示【未配置 saucenaoApiKey,无法使用 saucenao 搜图
    】但我已经配置了有什么解决方案吗?真的麻烦你了
  7. xrr  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 105.0.0.0(Google Chrome 105.0.0.0)
    也配对好了,但一往bot里发信息就这样报错,为啥呢?
    Protocol -> unmarshal sub msg 0x4 error: unmarshal sub msg 0x4 error: field number 1 with wire type 0: expected wire type 2
  8. WwwwGaa  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 105.0.0.0(Google Chrome 105.0.0.0)
    启动go-cqhttp时提示Protocol -> unknown group msg: 0
  9. momo  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 104.0.0.0(Google Chrome 104.0.0.0)
    run test 报链接错误Failed to establish the websocket connection.
    问题文档中的三个点都排查了,依旧没法解决错误

    连接失败报错请重点检查以下几个点

    • go-cqhttp 是否没启用 ws
    • 是否设置了 access_token 但两边不一致
    • 是否手贱动了 host 配置
    1. 神代綺凛  Mac OS X 10.15.7(Mac OS X 10.15.7) / Google Chrome 104.0.0.0(Google Chrome 104.0.0.0)
      @momo 看看两边配置的端口号是不是一致的
  10. Asuhe  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 103.0.0.0(Google Chrome 103.0.0.0)
    已经没了嘛
  11. 时月  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 102.0.0.0(Google Chrome 102.0.0.0)
    还有个小建议,就是希望能增加多个saucenao api的功能,因为机器人放到群里很容易就超过saucenao一天100次的限制了
    1. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 102.0.0.0(Google Chrome 102.0.0.0)
      @时月
      该评论仅登录用户及评论双方可见
      1. 时月  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 102.0.0.0(Google Chrome 102.0.0.0)
        @神代綺凛 了解了,感谢大佬~我会合理使用的
  12. 时月  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 102.0.0.0(Google Chrome 102.0.0.0)
    大佬你好,我想问一下我部署成功之后搜图返回的缩略图很糊,只有几十k,“是否发送master1200大小的图片”这里写的是false,可能会是什么问题呢
    1. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 102.0.0.0(Google Chrome 102.0.0.0)
      @时月 是正常的,搜图后返回的缩略图就是很小的
      1. 时月  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 102.0.0.0(Google Chrome 102.0.0.0)
        @神代綺凛 我懂了,原来图片代理这个功能是色图里面的。大佬考虑把图片代理加到搜图结果里面吗?
        1. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 102.0.0.0(Google Chrome 102.0.0.0)
          @时月 想了下,要实现得多调一个 Pixiv API,比较麻烦,决定咕了(
          1. 时月  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 103.0.0.0(Google Chrome 103.0.0.0)
            @神代綺凛 呜呜,太可惜了(
        2. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 102.0.0.0(Google Chrome 102.0.0.0)
          @时月 确实可以考虑
      2. 时月  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 102.0.0.0(Google Chrome 102.0.0.0)
        @神代綺凛 知道怎么设置了,但是不管我怎么写都是返回p站的链接,甚至把发送链接改成false也还是发链接。。这咋回事呀
      3. 时月  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 102.0.0.0(Google Chrome 102.0.0.0)
        @神代綺凛 谢谢大佬解答。那如果想要返回一个pixiv.re的链接要怎么配置文件呢,我看了下不知道该怎么写
  13. 浅夏墨语  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 98.0.4758.82(Google Chrome 98.0.4758.82)
    请教个问题,最近老是会出现如下错误:
    ascii2d 搜索失败
    Request failed with status code 403
    更换过go-cqhttp的device,也把机器人搬运到海外vps,但是还是不能解决,想问问作者你有没有什么思路。
    1. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 98.0.4758.82(Google Chrome 98.0.4758.82)
      1. 浅夏墨语  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 98.0.4758.82(Google Chrome 98.0.4758.82)
        @神代綺凛 啊这,原来是被CF挡了,我还以为是IP被黑名单了。
        1. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 98.0.4758.82(Google Chrome 98.0.4758.82)
          @浅夏墨语 莫得办法
  14. 好兄弟  Android 12(Android 12) / Google Chrome 97.0.4692.99(Google Chrome 97.0.4692.99)
    大佬能不能加一个随机coser图的功能。
    https://api.iyk0.com/cos
    1. 神代綺凛  Mac OS X 10.15.7(Mac OS X 10.15.7) / Google Chrome 98.0.4758.80(Google Chrome 98.0.4758.80)
      @好兄弟 不加
  15. Jack  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 96.0.4664.93(Google Chrome 96.0.4664.93)
    B站动态直播推送的填写格式不太了解,劳烦大佬在Wiki补充一下Orz
    1. 神代綺凛  Mac OS X 10.15.7(Mac OS X 10.15.7) / Google Chrome 96.0.4664.110(Google Chrome 96.0.4664.110)
      @Jack 是不太清楚 json 格式吗?还是配置注释哪块的说明理解起来有困难
      1. Jack  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 96.0.4664.93(Google Chrome 96.0.4664.93)
        @神代綺凛 // 例 "push": { "12345": [12345678, { "gid": 23456789, "live": true }] },
        这里的前2串数字不清楚是什么,测试后我现在都填的B站uid

        // 只写群号则动态和直播都推送;
        只写群号没有例子也不会;

        根据我的理解,应该还有多up多群的格式,也拜托了。Orz

        1. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 97.0.4692.71(Google Chrome 97.0.4692.71)
          1. Jack  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 97.0.4692.71(Google Chrome 97.0.4692.71)
            @神代綺凛 谢谢大佬!!
  16. 梓喵  Windows 7 x64 Edition(Windows 7 x64 Edition) / Google Chrome 95.0.4638.54(Google Chrome 95.0.4638.54)
    补充一个新的问题,舟舟之前更新了公招,现在资深和高姿改成了黄色字体和渐变底边,导致bot识别的成功率只有6成左右,这个问题可以修复吗|´・ω・)ノ
    1. Yanjing  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 96.0.4664.110(Google Chrome 96.0.4664.110)
      @梓喵 老哥你怎么跟我bot名字一样啊www 刚想来发这个问题差点以为是我发的了OωO
    2. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 97.0.4692.71(Google Chrome 97.0.4692.71)
      @梓喵 用 qq 的 OCR 的话基本是能识别的
      1. Yanjing  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 96.0.4664.110(Google Chrome 96.0.4664.110)
        @神代綺凛 我现在用的是qq的ocr 几个群友尝试都没法正常识别 昨天是什么高资扎堆出的日子嘛为什么我没有(悲
    3. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 97.0.4692.71(Google Chrome 97.0.4692.71)
      @梓喵 暂时无解,只能说傻逼 yj UI 设计师……
  17. Yanjing  Mac OS X(Mac OS X) / Mozilla Compatible(Mozilla Compatible)
    大佬你好 本人小白 非常感谢你的项目 但是我现在碰到个问题 部署完成后npm start可以正常收到上线提醒 但之后不管发什么都没反应 包括文档里的热重载指令(后台能正常收到消息)找了很久也没找到解决方法 所以想问下大佬有遇见过这种情况吗 有没有什么办法可以解决 方便的话希望能留个联系方式或者交流群什么的 谢谢大佬(ó﹏ò。)
  18. a872  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 95.0.4638.69(Google Chrome 95.0.4638.69)
    请问能考虑一下让qq频道里能使用吗?go-cqhttp的1.0.0beta8已经支持接收qq频道消息了,感觉和qq群相差不多,我尝试自己弄了一下,但实在搞不懂。。
    1. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 95.0.4638.69(Google Chrome 95.0.4638.69)
      @a872 等稳定再说
  19. 梓喵  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 95.0.4638.69(Google Chrome 95.0.4638.69)
    反馈一个问题:
    在本地部署的时候启用方舟插件会出现以下错误,但是在别的机子上部署又可以正常运行,错误贴下面了
    试过node16降级到14,系统是一样的win10 20H2,配置不一样

    Error: Can not load bindings, file: C:\Users\azusa\Desktop\cq-picsearcher-bot-master\node_modules\@napi-rs\canvas-win32-x64-msvc\skia.win32-x64-msvc.node existed but error occurred while require it: The specified module could not be found.
    \\?\C:\Users\azusa\Desktop\cq-picsearcher-bot-master\node_modules\@napi-rs\canvas-win32-x64-msvc\skia.win32-x64-msvc.node
    Installed packages: [canvas-win32-x64-msvc]
        at loadBinding (D:\bot\cq-picsearcher-bot-master\node_modules\@node-rs\helper\lib\loader.js:50:11)
        at Object.<anonymous> (D:\bot\cq-picsearcher-bot-master\node_modules\@napi-rs\canvas\index.js:25:5)
        at Object.<anonymous> (D:\bot\cq-picsearcher-bot-master\node_modules\esm\esm.js:1)
        at D:\bot\cq-picsearcher-bot-master\node_modules\esm\esm.js:1
        at Generator.next (<anonymous>)
        at bl (D:\bot\cq-picsearcher-bot-master\node_modules\esm\esm.js:1)
        at kl (D:\bot\cq-picsearcher-bot-master\node_modules\esm\esm.js:1)
        at Object.<anonymous> (D:\bot\cq-picsearcher-bot-master\node_modules\esm\esm.js:1)
        at Object.<anonymous> (D:\bot\cq-picsearcher-bot-master\node_modules\esm\esm.js:1)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:1205:10)
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! cq-picsearcher-bot@2.30.3 test: `node index.js`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the cq-picsearcher-bot@2.30.3 test script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     C:\Users\azusa\AppData\Roaming\npm-cache\_logs\2021-11-12T12_34_35_683Z-debug.log
    1. bbaban  Android 10(Android 10) / IBrowse r(IBrowse r)
      @梓喵 我现在用centos8搭建的时候也一直出现这个问题,请问有什么解决办法吗?
      1. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 103.0.0.0(Google Chrome 103.0.0.0)
    2. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 95.0.4638.69(Google Chrome 95.0.4638.69)
      @梓喵 有些人也有这种情况,我暂时也不清楚原因
      1. 梓喵  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 95.0.4638.69(Google Chrome 95.0.4638.69)
        @神代綺凛 补充一下后续,在打上了node.js的tools之后插件又正常了,可能是缺少了某个组件导致报错?
        1. 神代綺凛  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 95.0.4638.69(Google Chrome 95.0.4638.69)
          @梓喵 你说的是 windows-build-tools 么,又或者是安装 nodejs 的时候勾选那个安装 tools
          1. 梓喵  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 95.0.4638.69(Google Chrome 95.0.4638.69)
            @神代綺凛 是安装nodejs的时候可以勾选的tools,他帮我装了个python3和visualstudio2019
            1. 神代綺凛  Mac OS X 10.15.7(Mac OS X 10.15.7) / Google Chrome 95.0.4638.69(Google Chrome 95.0.4638.69)
              @梓喵 了解了
  20. NekoCamel  Windows 10 x64 Edition(Windows 10 x64 Edition) / Google Chrome 70.0.3538.25(Google Chrome 70.0.3538.25)
    大佬,我除了run test其他指令都报错怎么解决啊