Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <_HttpRequest.au3>
- $videoId = "v02004b20000bnqvqbg858lnb0sc65p0"
- _HttpRequest(0, "https://www.ixigua.com/api/videov2/video_token")
- $s = _HttpRequest(2, "https://www.ixigua.com/api/videov2/video_token?_signature=&vid="&$videoId&"&isDash=0&isLVideo=0")
- $ss1 = StringRegExp($s, '"AuthToken":"(.*?)"', 3)[0]
- $ss2 = StringRegExp($s, '"BusinessToken":"(.*?)"', 3)[0]
- ConsoleWrite(_HttpRequest(2, "https://vas.snssdk.com/video/openapi/v1/?aid=10000000&action=GetPlayInfo&video_id="&$videoId&"&nobase64=true&ptoken="&$ss2&"&vfrom=xgplayer", "", "", "", "authorization:" & $ss1))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement