MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    [mirai-api-http]梗查询插件——GengSearch

    插件发布
    python mirai-api-http
    25
    182
    36505
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 2
      2741911624 last edited by

      搜索请求错误/超时
      错误详情:
      Traceback (most recent call last):
      File "urllib3\connectionpool.py", line 696, in urlopen
      File "urllib3\connectionpool.py", line 964, in prepare_proxy
      File "urllib3\connection.py", line 364, in connect
      File "urllib3\connection.py", line 501, in connect_tls_proxy
      File "urllib3\util\ssl
      .py", line 453, in ssl_wrap_socket
      File "urllib3\util\ssl
      .py", line 495, in _ssl_wrap_socket_impl
      File "ssl.py", line 500, in wrap_socket
      File "ssl.py", line 1040, in _create
      File "ssl.py", line 1309, in do_handshake
      ssl.SSLError: [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "requests\adapters.py", line 439, in send
      File "urllib3\connectionpool.py", line 755, in urlopen
      File "urllib3\util\retry.py", line 574, in increment
      urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='jikipedia.com', port=443): Max retries exceeded with url: /search?phrase=%20&category=definition (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)')))

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "GengSearch.py", line 138, in Search
      File "requests\api.py", line 75, in get
      File "requests\api.py", line 61, in request
      File "requests\sessions.py", line 542, in request
      File "requests\sessions.py", line 655, in send
      File "requests\adapters.py", line 514, in send
      requests.exceptions.SSLError: HTTPSConnectionPool(host='jikipedia.com', port=443): Max retries exceeded with url: /search?phrase=%20&category=definition (Caused by SSLError(SSLError(1, '[SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:1129)')))

      save log
      搜索列表保存错误
      错误详情:
      Traceback (most recent call last):
      File "GengSearch.py", line 148, in Search
      UnboundLocalError: local variable 'Searchlist' referenced before assignment

      save log
      无法定位到搜索列表的首个词条ID
      错误详情:
      Traceback (most recent call last):
      File "GengSearch.py", line 154, in Search
      UnboundLocalError: local variable 'Searchlist' referenced before assignment

      save log
      Error
      错误详情:
      Traceback (most recent call last):
      File "GengSearch.py", line 166, in Search
      UnboundLocalError: local variable 'Searchlist' referenced before assignment

      save log
      save log

      大佬,我cookie复制完整了还是这样

      1 Reply Last reply Reply Quote 0
      • Koreyoshi
        Koreyoshi @2741911624 last edited by

        @2741911624 嗯嗯

        1 Reply Last reply Reply Quote 0
        • C
          CabbCat last edited by CabbCat

          我也出现了上面两位一样的问题和报错,完整复制了cookie并且尝试删去分号前的空格也没用

          Koreyoshi 1 Reply Last reply Reply Quote 0
          • Koreyoshi
            Koreyoshi @CabbCat last edited by

            @CabbCat 跟上一位报错相同的话,那就是开了代理没关

            2 1 Reply Last reply Reply Quote 0
            • 2
              2741911624 @Koreyoshi last edited by

              @Koreyoshi [滑稽] [doge]

              1 Reply Last reply Reply Quote 0
              • 风
                风流任我 摸鱼 last edited by

                大大,这是咋回事啊,我data都填好了,然后那个小鸡官网进不去,我是千兆网,然后运行起来之后,没填cookie就这样
                Version 1.3.2
                running from Windows
                未开启每日发送
                未开启黑名单模式
                查询触发文本:
                ['梗查询 ']
                ['来点梗']
                群冷却时间: 10 秒 文本: 让我休息一下嘛!
                群成员冷却时间: 30 秒 文本: 你搜的太快啦!{}秒后再来试试吧
                {'Key': '1234567890', 'host': 'localhost:8080', 'port': '8080', 'qq': '1474058663', 'session': 'vaKFilw9'}
                data Get Success
                Listening……
                Get mission
                can not find cookie.txt
                Searchid: <!doctype html>
                <html data-n-head-ssr>
                <head >
                <title>T.T 出错惹~</title><meta data-n-head=
                infoUrl: https://jikipedia.com/definition/<!doctype html>
                <html data-n-head-ssr>
                <head >
                <title>T.T 出错惹~</title><meta data-n-head=
                Error
                错误详情:
                Traceback (most recent call last):
                File "GengSearch.py", line 193, in Search
                IndexError: list index out of range

                Koreyoshi 1 Reply Last reply Reply Quote 0
                • Koreyoshi
                  Koreyoshi @风流任我 last edited by

                  @风流任我 这个报错就是小鸡词典页面加载不出来,应该是网的问题

                  风 2 Replies Last reply Reply Quote 0
                  • 风
                    风流任我 摸鱼 last edited by

                    我是千兆网络啊,我单独进了几次官网也是进不去

                    2 1 Reply Last reply Reply Quote 0
                    • 2
                      2741911624 @风流任我 last edited by

                      @风流任我 开了代理?

                      1 Reply Last reply Reply Quote 0
                      • 风
                        风流任我 摸鱼 last edited by

                        没开,我在问之前我就看啦

                        1 Reply Last reply Reply Quote 0
                        • 风
                          风流任我 摸鱼 @Koreyoshi last edited by

                          @Koreyoshi
                          我现在进了网站,把cookie复制到了cookie.txt输入来点梗报错,麻烦您帮我看看
                          Version 1.3.2
                          running from Windows
                          未开启每日发送
                          未开启黑名单模式
                          查询触发文本:
                          ['梗查询 ']
                          ['来点梗']
                          群冷却时间: 10 秒 文本: 让我休息一下嘛!
                          群成员冷却时间: 30 秒 文本: 你搜的太快啦!{}秒后再来试试吧
                          {'Key': '1234567890', 'host': 'localhost:8080', 'port': '8080', 'qq': '1474058663', 'session': '3qdVQsVj'}
                          data Get Success
                          Listening……
                          Get mission
                          Searchid: <!doctype html>
                          <html data-n-head-ssr>
                          <head >
                          <title>T.T 出错惹~</title><meta data-n-head=
                          infoUrl: https://jikipedia.com/definition/<!doctype html>
                          <html data-n-head-ssr>
                          <head >
                          <title>T.T 出错惹~</title><meta data-n-head=
                          Error
                          错误详情:
                          Traceback (most recent call last):
                          File "GengSearch.py", line 193, in Search
                          IndexError: list index out of range

                          save log
                          save log

                          1 Reply Last reply Reply Quote 0
                          • 风
                            风流任我 摸鱼 last edited by

                            okok了,是服务器问题!!!!

                            1 Reply Last reply Reply Quote 0
                            • 风
                              风流任我 摸鱼 @Koreyoshi last edited by

                              @Koreyoshi 请问一下为什么我在一个群发,反应很慢才会回,然后另一个群发的话,每次都是报错

                              Koreyoshi 1 Reply Last reply Reply Quote 0
                              • Koreyoshi
                                Koreyoshi @风流任我 last edited by

                                @风流任我 反应慢有可能就是服务器的问题,连接网站过慢,报错的话错误信息是什么呢

                                1 Reply Last reply Reply Quote 0
                                • 风
                                  风流任我 摸鱼 last edited by

                                  作者大大你好,我现在在群里发来点梗,反应很快,然后群里没一点点动静是为啥啊
                                  save log

                                  Listening……
                                  Get mission
                                  Searchid: 383620885
                                  infoUrl: https://jikipedia.com/definition/383620885
                                  Loading page (1/2)
                                  Rendering (2/2)
                                  Done
                                  Success
                                  RuningTime: 1.534138200000001
                                  save log

                                  Listening……

                                  Koreyoshi 1 Reply Last reply Reply Quote 0
                                  • Koreyoshi
                                    Koreyoshi @风流任我 last edited by

                                    @风流任我 其他指令能用吗?看看mirai后台有没有消息发送记录

                                    风 1 Reply Last reply Reply Quote 0
                                    • 风
                                      风流任我 摸鱼 last edited by

                                      好的我看看

                                      1 Reply Last reply Reply Quote 0
                                      • 风
                                        风流任我 摸鱼 last edited by

                                        mirai-div里面需要每次开都安装一次吗大佬

                                        Koreyoshi 1 Reply Last reply Reply Quote 0
                                        • Koreyoshi
                                          Koreyoshi @风流任我 last edited by

                                          @风流任我 安装什么呢?抱歉我没听懂

                                          1 Reply Last reply Reply Quote 0
                                          • 风
                                            风流任我 摸鱼 @Koreyoshi last edited by

                                            @Koreyoshi 就是每一次启动之后,我发梗查询或者来点梗,第一次反应会很快,但是群里没有任何反应,第二次请求就很慢,有时候没这个问题,但是这个问题经常出现

                                            Koreyoshi 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 7 / 10
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact