1
paulw54jrn 2015-07-19 12:25:34 +08:00
selenium / ghost.py
|
2
frittle 2015-07-19 12:39:35 +08:00
|
3
plantparknet OP @paulw54jrn 试过selenium,但是centos精简系统,各种报错。
|
4
plantparknet OP |
5
plantparknet OP @frittle 赞!搞定!不过运行过程中总是报这种错误,何解呢~~
/usr/lib/python2.7/site-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 |
6
felinx 2015-07-19 14:08:20 +08:00
我刚写过一个20行的代码抓,哈哈
|
7
plantparknet OP @felinx 分享出来~~
|
8
gaotongfei 2015-07-19 15:14:07 +08:00 via iPad
|
9
felinx 2015-07-19 18:34:07 +08:00
@plantparknet 跟上面的类似,我是直接通过客户端的API抓的
|
10
plantparknet OP @felinx 上面的好像木有一个是通过客户端API抓取的~~
|
11
felinx 2015-07-19 22:07:10 +08:00
@plantparknet 好吧,放出来 https://gist.github.com/felinx/8ece2c795eee508a90f9
最后抓图我是简单的用wget,有需要可以改成用python抓。 |
12
icedx 2015-07-20 00:06:46 +08:00
|
13
plantparknet OP |
14
frittle 2015-07-21 08:24:01 +08:00
|