stronger 最近的时间轴更新
stronger

stronger

V2EX 第 113581 号会员,加入于 2015-04-26 21:40:47 +08:00
stronger 最近回复了
2015-04-28 22:05:11 +08:00
回复了 Registering 创建的主题 Python Python 新手提问
@Registering 请问一下,post里面的once数据是什么呀?
2015-04-28 10:24:12 +08:00
回复了 stronger 创建的主题 Python Python 模拟登陆 BBS 的问题
@gcc2000 好的
2015-04-28 10:23:47 +08:00
回复了 Registering 创建的主题 Python Python 新手提问
@Registering 还是之前那个错误什么SSL错误
2015-04-28 10:22:14 +08:00
回复了 Registering 创建的主题 Python Python 新手提问
@Registering 安装了呀,奇怪呢!!!
2015-04-27 22:18:22 +08:00
回复了 Registering 创建的主题 Python Python 新手提问
@Registering 改成我自己的了,我的是2.7.8,还是不行呢
2015-04-27 20:23:45 +08:00
回复了 Registering 创建的主题 Python Python 新手提问
怎么我用楼主的程序出现错误:
Warning (from warnings module):
File "G:\Program Files\Python2.7\lib\site-packages\requests\packages\urllib3\util\ssl_.py", line 79
InsecurePlatformWarning
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.

Traceback (most recent call last):
File "G:/Program Files/Python2.7/yq_py/v2ex_test.py", line 19, in <module>
s.post('https://www.v2ex.com/signin', login_data, headers=headers)
File "G:\Program Files\Python2.7\lib\site-packages\requests\sessions.py", line 507, in post
return self.request('POST', url, data=data, json=json, **kwargs)
File "G:\Program Files\Python2.7\lib\site-packages\requests\sessions.py", line 464, in request
resp = self.send(prep, **send_kwargs)
File "G:\Program Files\Python2.7\lib\site-packages\requests\sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "G:\Program Files\Python2.7\lib\site-packages\requests\adapters.py", line 431, in send
raise SSLError(e, request=request)
SSLError: hostname 'www.v2ex.com' doesn't match either of '*.c3edge.com', 'c3edge.com'
2015-04-27 17:14:46 +08:00
回复了 stronger 创建的主题 Python Python 模拟登陆 BBS 的问题
@luoyibu 嗯,目前还没用到bs,因为连登陆都没成功呢,,,,我在网上查了好多,但无功而返,大神能帮下忙么?我可以把账号密码分享给您
2015-04-27 17:09:37 +08:00
回复了 stronger 创建的主题 Python Python 模拟登陆 BBS 的问题
@qaulau 我用fiddler抓包也发现了这个地址,但是打开是404错误,应该不是这个地址吧?
2015-04-27 08:45:21 +08:00
回复了 stronger 创建的主题 Python Python 模拟登陆 BBS 的问题
@lichifeng 您指的是类似scrapy这样的框架么
2015-04-27 08:44:36 +08:00
回复了 stronger 创建的主题 Python Python 模拟登陆 BBS 的问题
@churchmice 您好,已附加了代码,麻烦您帮我看一下吧!
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2267 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 08:37 · PVG 16:37 · LAX 01:37 · JFK 04:37
Developed with CodeLauncher
♥ Do have faith in what you're doing.