Advertisement
Guest User

ixigua

a guest
Feb 25th, 2020
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.58 KB | None | 0 0
  1. #include <_HttpRequest.au3>
  2.  
  3. $videoId = "v02004b20000bnqvqbg858lnb0sc65p0"
  4.  
  5. _HttpRequest(0, "https://www.ixigua.com/api/videov2/video_token")
  6. $s = _HttpRequest(2, "https://www.ixigua.com/api/videov2/video_token?_signature=&vid="&$videoId&"&isDash=0&isLVideo=0")
  7. $ss1 = StringRegExp($s, '"AuthToken":"(.*?)"', 3)[0]
  8. $ss2 = StringRegExp($s, '"BusinessToken":"(.*?)"', 3)[0]
  9. 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