Skip to content

Commit

Permalink
Update TencentQQNT.json
Browse files Browse the repository at this point in the history
  • Loading branch information
AkariiinMKII committed Jan 20, 2025
1 parent 71ddd6b commit fd6882e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bucket/TencentQQNT.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@
"script": [
"$pre_url = $json.homepage",
"$pre_regex = 'rainbowConfigUrl\\s=\\s\"(.+)\\?t='",
"$pre_page_raw = (Invoke-WebRequest $pre_url | Select-Object -ExpandProperty RawContentStream).ToArray()",
"$pre_page_raw = (Invoke-WebRequest -Uri $pre_url | Select-Object -ExpandProperty RawContentStream).ToArray()",
"$pre_page = [System.Text.Encoding]::UTF8.GetString($pre_page_raw)",
"$pre_page -match $pre_regex",
"$check_url = $matches[1]",
"$check_page_raw = (Invoke-WebRequest $check_url | Select-Object -ExpandProperty RawContentStream).ToArray()",
"$check_page_raw = (Invoke-WebRequest -Uri $check_url | Select-Object -ExpandProperty RawContentStream).ToArray()",
"$check_page = [System.Text.Encoding]::UTF8.GetString($check_page_raw)",
"$check_page"
"return $check_page"
],
"regex": "QQNT\\/Windows\\/QQ_([\\d\\.]+)_([\\d]+)_x64_01\\.exe",
"replace": "${1}.${2}"
Expand Down

0 comments on commit fd6882e

Please sign in to comment.