Now there shouldn't be anyone who doesn't use Alibaba Cloud Drive and instead uses a certain Baidu Cloud Drive, right? Can you tolerate the turtle speed and the money-grabbing face of Baidu Cloud Drive?? Although new users of Alibaba Cloud Drive now have less storage than before, and old users had more free storage, you can still receive one day of SVIP by signing in daily, which means you can have an additional 8T of storage. However, signing in every day is indeed very troublesome, so I've been looking for an automatic solution. Previously, I was using a script from QX, but not everyone uses iOS, and not everyone is willing to spend $4.99 to buy QX for use. Today, I accidentally discovered a good tool that can achieve automatic sign-in without a server or any device, which is Kingsoft's WPS Cloud's AirScript script editor. Below, I will teach you how to use it.
Obtain Alibaba Cloud Drive refresh_token#
Since the script sign-in requires authorization of Alibaba Cloud Drive login information to log in, we use the refresh_token method to log in. There are many ways to obtain the refresh_token, the simplest being to use the QR code method on the alist official website:
Click to obtain the token, and it will prompt you to scan the QR code with the app. After successfully scanning, refresh to get your token.
Token acquisition address:
Note that the token is very important, do not leak it, otherwise others can easily log into your account.
Script Section#
The script section is also very simple. First, you need to save the document I provided to your own Kingsoft document, otherwise your token will be leaked. Click the three horizontal lines on the left of the document, select "Save As," and save it with a name you can understand. Be sure not to share it.
Next, it's very simple. Copy the token you just obtained to the position shown in the picture.
Next, open the document's Efficiency --- Advanced Tools -- AirScript script editor.
Click to run this script to complete the sign-in, and of course, there will also be prompts in the logs.
How to Automatically Sign In#
The above steps are for manual execution. We need it to be automatic, so enable the scheduling tool by going to Efficiency --- Advanced Tools -- Scheduled Tasks in the document to set a scheduled task for automation.
Just don't forget to select your script for this.
Script Address#
This message is used to verify that this feed (feedId:56339920937229323) belongs to me (userId:55158161788401664). Join me in enjoying the next generation information browser https://follow.is.