Skip to content
Permalink
Browse files
update
  • Loading branch information
gene9831 committed Mar 13, 2022
1 parent cd86a43 commit c30f514de838899416716a3ce161f04978a90f8e
Showing 1 changed file with 3 additions and 12 deletions.
@@ -22,17 +22,17 @@

string GetTitle()
{
return "Aliyun";
return "Aliyun drive";
}

string GetVersion()
{
return "1";
return "1.1";
}

string GetDesc()
{
return "https://www.aliyundrive.com//";
return "https://www.aliyundrive.com/";
}

bool PlayitemCheck(const string &in path) {
@@ -46,15 +46,6 @@ string PlayitemParse(const string &in path, dictionary &MetaData, array<dictiona
HostSetUrlUserAgentHTTP(path, userAgent);

string header = 'Referer: https://www.aliyundrive.com/';
header += '\nsec-ch-ua: " Not A;Brand";v="99", "Chromium";v="98", "Microsoft Edge";v="98"';
header += '\nsec-ch-ua-mobile: ?0';
header += '\nsec-ch-ua-platform: "Windows"';
header += '\nSec-Fetch-Dest: document';
header += '\nSec-Fetch-Mode: navigate';
header += '\nSec-Fetch-Site: cross-site';
header += '\nSec-Fetch-User: ?1';
header += '\nUpgrade-Insecure-Requests: 1';

HostSetUrlHeaderHTTP(path, header);

int index = path.findFirst("filename");

0 comments on commit c30f514

Please sign in to comment.