An example of WinHttp.WinHttpRequest programming, which can obtain CNZZ website statistics in real time. With slight modifications, you can steal information from any website (including member authentication).
If it is used to obtain CNZZ website statistics, please modify the account information:
CNZZ_User = "[email protected]" CNZZ account
CNZZ_Password = "CNZZTEST"
Because the program is open source, there is no suspicion of account theft, so please feel free to use it.
Although the script is relatively simple, it mainly conveys an idea to everyone.
All operations of CNZZ can be called through the core function [Connect (submitted operation, submitted parameters)], and the login operation Connect function is automatically completed.
For example, site details: Connect("v1/main","SENDTYPE=GETsiteid={SITEID}&s=main_stat")
Site keyword: Connect("v1/main","SENDTYPE=GETsiteid={SITEID}&s=key")
Add a new site: Connect("v1/main","SENDTYPE=GETs=site_new&t=add&sitename={website name}&sitedomain={website homepage}&domainlist={domain name list}")
Don't underestimate this program. In just over 200 lines of code, it opens an API to CNZZ.