forked from xjr7670/QQzone_crawler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.py
23 lines (18 loc) · 745 Bytes
/
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import get_my_friends
import get_moods
import get_qq_number
if __name__ == '__main__':
# First, we need to get all our qq friends data
get_friends_obj = get_my_friends.Get_friends_number()
get_friends_obj.get_friends()
# Second, deal with this data, clean it
# From the get_friends result get the useful data
# And save it to file qqnumber.inc
# The format of this file just a list
get_qq_item_obj = get_qq_number.exact_data_from_result()
get_qq_item_obj.exact_qq_number()
# Finally, use the cleaned data to get mood
# Base on last step's qqnumber.inc file
# exact the qq number and start to get their moods
get_moods_obj = get_moods.Get_moods_start()
get_moods_obj.get_moods_start()