MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接
    1. Home
    2. MJR147
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 13
    • Best 0
    • Controversial 0
    • Groups 0

    MJR147

    @MJR147

    0
    Reputation
    1
    Profile views
    13
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    MJR147 Unfollow Follow

    Latest posts made by MJR147

    • RE: 百度bike--极其简陋的百科插件

      @daisy524 Y%LVWTS~$L6YW$V1)8RXQ@V.png

      posted in 插件发布
      M
      MJR147
    • RE: [mirai-api-http]梗查询插件——GengSearch

      @Koreyoshi 嗯,加了

      posted in 插件发布
      M
      MJR147
    • RE: [mirai-api-http]梗查询插件——GengSearch

      @Koreyoshi 似乎并没有什么用

      posted in 插件发布
      M
      MJR147
    • RE: [mirai-api-http]梗查询插件——GengSearch

      @Koreyoshi 没有换行,有空格,需要删去吗?

      posted in 插件发布
      M
      MJR147
    • RE: 百度bike--极其简陋的百科插件

      main.py
      /root/Baike/临时图片.png
      /root/Baike/config.txt
      host=127.0.0.1:8080
      82*******
      INIT*********

      http://127.0.0.1:8080
      session获取成功 YnWhJ9nX
      尝试连接中....
      {'sessionKey': 'YnWhJ9nX', 'qq': '1749796784\n'}
      获取会话失败,请检查host是否填写正确

      请问怎么解决

      posted in 插件发布
      M
      MJR147
    • RE: [mirai-api-http]梗查询插件——GengSearch

      @Koreyoshi 按照文档获取的Cookie,还是报错

      posted in 插件发布
      M
      MJR147
    • RE: [mirai-api-http]梗查询插件——GengSearch

      报错
      搜索请求错误/超时
      错误详情:
      Traceback (most recent call last):
      File "GengSearch.py", line 121, in Search
      Searchlist=requests.get(SearchUrl,cookies=cookie)
      File "/root/GengSearch/requests/api.py", line 75, in get
      return request('get', url, params=params, **kwargs)
      File "/root/GengSearch/requests/api.py", line 61, in request
      return session.request(method=method, url=url, **kwargs)
      File "/root/GengSearch/requests/sessions.py", line 542, in request
      resp = self.send(prep, **send_kwargs)
      File "/root/GengSearch/requests/sessions.py", line 655, in send
      r = adapter.send(request, **kwargs)
      File "/root/GengSearch/requests/adapters.py", line 449, in send
      timeout=timeout
      File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 600, in urlopen
      chunked=chunked)
      File "/usr/lib/python3.6/site-packages/urllib3/connectionpool.py", line 354, in _make_request
      conn.request(method, url, **httplib_request_kw)
      File "/usr/lib64/python3.6/http/client.py", line 1269, in request
      self._send_request(method, url, body, headers, encode_chunked)
      File "/usr/lib64/python3.6/http/client.py", line 1310, in _send_request
      self.putheader(hdr, value)
      File "/usr/lib64/python3.6/http/client.py", line 1242, in putheader
      values[i] = one_value.encode('latin-1')
      UnicodeEncodeError: 'latin-1' codec can't encode characters in position 272-273: ordinal not in range(256)

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

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

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

      save log

      posted in 插件发布
      M
      MJR147
    • RE: 原神米游社签到插件

      签到推送不能推送到群吗

      posted in 插件发布
      M
      MJR147
    • RE: ZacaFleetBot 明日方舟游戏助手+舰队收藏游戏助手+More

      @hundun000 好的,谢谢

      posted in 插件发布
      M
      MJR147
    • RE: ZacaFleetBot 明日方舟游戏助手+舰队收藏游戏助手+More

      @hundun000 大佬,这..是什么问题?![9O_SZ)ANXCSDTE`AC{CMUI.png

      posted in 插件发布
      M
      MJR147