GithubHelp home page GithubHelp logo

tiebasign's People

Contributors

elieenandbella avatar ghosx avatar gwtak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tiebasign's Issues

用不了了

File "TiebaCheckin.py", line 183, in
main()
File "TiebaCheckin.py", line 177, in main
client_sign(i, tbs,f["fid"],f["kw"])
NameError: name 'f' is not defined
Error: Process completed with exit code 1.

获取tbs出错

作者大大,这个问题怎么解决啊
`
Run python main.py
2021-10-03 02:43:11,385 - INFO - 开始签到第0个用户***

2021-10-03 02:43:11,385 - INFO - 获取tbs开始
Traceback (most recent call last):
File "main.py", line 54, in get_tbs
tbs = s.get(url=TBS_URL, headers=headers, timeout=5).json()[TBS]
File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/urllib3/connectionpool.py", line 706, in urlopen
chunked=chunked,
File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/urllib3/connectionpool.py", line 394, in _make_request
conn.request(method, url, httplib_request_kw)
File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/http/client.py", line 1291, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/http/client.py", line 1332, in _send_request
self.putheader(hdr, value)
File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/site-packages/urllib3/connection.py", line 224, in putheader
_HTTPConnection.putheader(self, header, values)
File "/opt/hostedtoolcache/Python/3.6.15/x64/lib/python3.6/http/client.py", line 1269, in putheader
raise ValueError('Invalid header value %r' % (values[i],))
ValueError: Invalid header value b'BDUSS=
\n'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "main.py", line 188, in
main()
File "main.py", line 178, in main
tbs = get_tbs(i)
File "main.py", line 56, in get_tbs
logger.error("获取tbs出错" + e)
TypeError: must be str, not ValueError
Error: Process completed with exit code 1.

`

配置文件需要更换新的Python版本

最近几天连续报错

Version 3.6 with arch x64 not found Available versions: 3.10.8 (x64) 3.11.0 (x64) 3.7.15 (x64) 3.8.14 (x64) 3.9.15 (x64)

GitHub Actions似乎已经不支持3.6版本python,个人将配置文件中的python版本改为 3.10.8 后可以正常运行。

作者注意隐私

你把自己的BDUSS放在main.py里,别人能登录你的百度账号了,比如网盘什么的

BDUSS 问题

你好
BDUSS 多久换一次呀 想知道它的时效

bug

能运行,但是我用手机打开,签到并未成功
图片

签到能够正常完成但每次都有报错

Traceback (most recent call last): File "/home/runner/work/TieBaSign/TieBaSign/main.py", line 232, in <module> main() File "/home/runner/work/TieBaSign/TieBaSign/main.py", line 227, in main send_email(favorites) File "/home/runner/work/TieBaSign/TieBaSign/main.py", line 209, in send_email smtp.connect(HOST) File "/opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/smtplib.py", line 341, in connect self.sock = self._get_socket(host, port, self.timeout) File "/opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/smtplib.py", line 312, in _get_socket return socket.create_connection((host, port), timeout, File "/opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/socket.py", line 824, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM): File "/opt/hostedtoolcache/Python/3.10.8/x64/lib/python3.10/socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name or service not known Error: Process completed with exit code 1.

虽然签到都能够正常完成,但每次签到的时候都会有如此报错,请问应该如何解决呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.