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是否填写正确请问怎么解决
-
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 assignmentsave 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 assignmentsave log
Error
错误详情:
Traceback (most recent call last):
File "GengSearch.py", line 147, in Search
Searchid=Searchlist[idnum1:idnum2]
UnboundLocalError: local variable 'Searchlist' referenced before assignmentsave log
-
RE: ZacaFleetBot 明日方舟游戏助手+舰队收藏游戏助手+More
@hundun000 大佬,这..是什么问题?![9O_SZ)ANXCSDTE`AC{CMUI.png