你们的自动签到脚本还好吗?

2016 年 9 月 4 日
 loading
全面 https 后,我用的这个有关于 s3edge 的 ssl 错误。

https://gist.github.com/YCF/808d52283201475731b208e22fec1fe0
5674 次点击
所在节点    问与答
29 条回复
ethanlu
2016 年 9 月 4 日
可以
matrix67
2016 年 9 月 4 日
楼主你有多少金币??
matrix67
2016 年 9 月 4 日
看你注册好久了,赚的应该不少。
XhstormR
2016 年 9 月 4 日
金币有啥用?
kn007
2016 年 9 月 4 日
好啊
dream7758521
2016 年 9 月 4 日
有啥用啊
thought
2016 年 9 月 4 日
原来有这么多版本的自动签到。。。
300
2016 年 9 月 4 日
把所有的 v2ex.com 改成 www.v2ex.com 试试
前些天强制跳转到 www 了
mozutaba
2016 年 9 月 4 日
全废了,贴吧, V2EX , youku 的都废了。很莫名其妙啊,不就 1 年没管嘛。
laoyur
2016 年 9 月 4 日
手动签到 600 多天路过
mozutaba
2016 年 9 月 4 日
@winterbells 没用
/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Traceback (most recent call last):
File "v2ex.py", line 14, in <module>
resp = session.get('https://www.v2ex.com/signin')
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 477, in get
return self.request('GET', url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 465, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 573, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 431, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: hostname 'www.v2ex.com' doesn't match 'manage.c3edge.com'
kingddc314
2016 年 9 月 4 日
Gandum
2016 年 9 月 4 日
试了下我的也不行了,不过自从我写好就从来没用过。。。
cinhoo
2016 年 9 月 4 日
Gandum
2016 年 9 月 4 日
我发现是这里改掉了: u:'用户名', p:'密码'
现在不是 u,p ,变成其他字符串了,需要改一下
longaiwp
2016 年 9 月 4 日
其实是你的代码写错了, v 站现在的登陆不是 u,p 了,而是改成两个字符串,你去重新写一遍就好了
300
2016 年 9 月 4 日
你可以去这里看看: https://qiandao.today
里面有一个 V2EX 签到模板,之前也是失效,但第二天就修复了
majinjing3
2016 年 9 月 4 日
http 改成 https 后就又可以愉快的签到了
uucloud
2016 年 9 月 4 日
确实改成 https 就好了
Livid
2016 年 9 月 4 日
如果是用 Python 的脚本,请确保:

1. 使用 Python 2.7.10 以后的版本,因为需要支持 SSL 的 SNI 特性
2. 使用 https://www.v2ex.com 前缀,其他地址上会有跳转

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/303768

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX