forked from wangxiaomo/RenRenLoversTree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME
35 lines (28 loc) · 2.02 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
How To Use
=====================================================
1.下载 Lover/
2.新建 my.py
3.写入如下内容:
#-*- coding: utf-8 -*-
from Lover import Lover
accounts = [
{'username':'xxxxxxxxxx', 'password':'xxxxxxxxxxxx'},
{'username':'yyyyyyyyyy', 'password':'yyyyyyyyyyyy'},
]
for user in accounts:
lover = Lover(user['username'], user['password'])
lover.auto_care()
Log
=====================================================
╰─$ python my.py
http://lover.renren.com/app/tree/op/sunning?pid=600339108 {"curScore":19190.25,"curStage":3,"msg":"","score":4,"success":true,"targetStage":3,"upgrade":false}
http://lover.renren.com/app/tree/op/sunning?pid=600339108 {"curScore":19194.25,"curStage":3,"msg":"","score":4,"success":true,"targetStage":3,"upgrade":false}
http://lover.renren.com/app/tree/op/watering?pid=600339108 {"curScore":19198.25,"curStage":3,"msg":"","score":4,"success":true,"targetStage":3,"upgrade":false}
http://lover.renren.com/app/tree/op/watering?pid=600339108 {"curScore":19202.25,"curStage":3,"msg":"","score":4,"success":true,"targetStage":4,"upgrade":true}
http://lover.renren.com/app/tree/op/sunning?pid=600339108 {"curScore":19206.25,"curStage":4,"msg":"","score":4,"success":true,"targetStage":4,"upgrade":false}
http://lover.renren.com/app/tree/op/sunning?pid=600339108 {"curScore":19210.25,"curStage":4,"msg":"","score":4,"success":true,"targetStage":4,"upgrade":false}
http://lover.renren.com/app/tree/op/watering?pid=600339108 {"curScore":19214.25,"curStage":4,"msg":"","score":4,"success":true,"targetStage":4,"upgrade":false}
http://lover.renren.com/app/tree/op/watering?pid=600339108 {"curScore":19218.25,"curStage":4,"msg":"","score":4,"success":true,"targetStage":4,"upgrade":false}
Update
====================================================
2012/09/21 今天离职.然后也突然发现情侣空间在脚本每天不懈的努力下升到了满级.Best Wishes!