• About hierarchical privileges, the official website of netease Cloud has an introduction music.163.com/#/level/det… , the highest level Lv10 has 100GB free music cloud disk capacity

  • The script to share is to automatically brush 300 songs in netease Cloud Music every day, so that your account can be quickly upgraded (the level data will be updated at 2 PM every day).
  • An account takes about 1 minute on average and can be run on the server without manual intervention. It automatically performs tasks by listening to songs every day and then sends task notifications to your wechat. It supports the deployment of cloud functions without servers.
  • Here is how to use the cloud function to run the punch script

Tencent Yunyun function

  • What is a cloud function? If you don’t have a server or local computer, you can run scripts without downloading Python, Node, etc., which is equivalent to putting all the data environment in the cloud. You can run scripts as long as you provide the code, without considering environmental factors
  • Login to tencent cloud first, and then open: console.cloud.tencent.com/scf/list-cr…
  • Or you can view it directly under the cloud product

  • Create a new function with an arbitrary name and choose Python3.6 to run

  • In the next step, write the description as you wish. The execution method is index.main and the submission method is local upload folder
  • Download github.com/ZainCheung/… Code to local
  • Modifying a Configuration Fileinit.config, put their netease cloud music account (email or mobile phone number) and MD5 encryption (use similarwww.md5.cz/Such a website encryption is good) after the password filled

  • Save the modified file and upload it to Tencent Cloud

  • Click on Advanced Settings to set memory to 64MB and time to 900

  • Of course, you can first decompress the files you just downloaded from Github and upload them directly to the cloud function, and then change your account and password
  • Note that the API needs to be changed, because the author’s API address is used by many people, will prompt 403 error, you can build an API for free

The steps are as follows:

  • Download the code locally at github.com/ZainCheung/…
  • Under the pagoda panel, first install PHP environment, usually PHP7.2 or above, and then create a new site, note that the environment must be PHP environment

  • Upload the code you just downloaded, unzip it, and visit the domain name:

  • The above interface shows that the API is set up
  • Fill in the configuration file with the domain name that can access the APIinit.configIn the

  • When finished, click Deploy

  • Once the deployment is successful, click Test again to view the execution logs below

  • Since I executed it once today, it shows a repeat check-in
  • Then set up a scheduled task in the trigger management, and execute the script at 7.30am every day, so that you can automatically clock in and upgrade every day