Objective
Through the first two of the code has been able to simulate the normal QQ login, to get the cookie is our future related operation of the Golden Key. This article will be through the way of the code to get access to QQ account Group list, a group of groups within the list of members.
This article focuses on:
1, grab packets to get QQ Group list access address
2, grab package to get QQ Group member list
3, the calculation of the parameter value, GTK calculation method (online can not find the calculation method)
4, processing return value
This article completes this series also basically is completed, to this article, may obtain the group member normally, certainly also is obtains the QQ mailbox, if wants to carry on other operation, also may use the second way to realize.
Grab Bag
1, Get QQ Group list
First of all, we use the landing of the successful QQ to visit our group space, group space in the head of my group, where we can see landing QQ above all the group list, that is, this page must return the list of the request address, do web development is roughly the same, this kind of things more with JS processing, I believe we can also catch this address as shown in the following figure.
In contrast to this place, the bag does not need to be looked at. This time to the JS request address is very intuitive through the name we can see is a group list, in the grasp of the package process we will find a get_group_list address, needless to say this is, to see this JS returned data is just the group list , the following figure
The right group is landing QQ on all QQ groups, including the total number of information.