Skip to content

Instantly share code, notes, and snippets.

@NeverBehave
Last active November 6, 2020 06:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NeverBehave/ef5e462b2d5c929bd639aeea947b9bc9 to your computer and use it in GitHub Desktop.
Save NeverBehave/ef5e462b2d5c929bd639aeea947b9bc9 to your computer and use it in GitHub Desktop.
OWL token 2020 (does not applied for Mainland China)

Assume Anything sent to youtube does not share with Blizzard

then the only xhr to record watching behavior should be:

https://sentinel.majorleaguegaming.com/api/v1/viewers/owl

It have been proved working on my own account; script can be found here: https://runkit.com/neverbehave/5eca0400df5906001a118075

https://wzavfvwgfk.execute-api.us-east-2.amazonaws.com/production/v2/sentinel-tracking/contenders' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:82.0) Gecko/20100101 Firefox/82.0' -H 'Accept: application/json' -H 'Accept-Language: zh-CN,en-US;q=0.7,en;q=0.3' --compressed -H 'Referer: https://overwatchleague.com/zh-cn/contenders/' -H 'x-origin: overwatchleague.com' -H 'Content-Type: application/json' -H 'Origin: https://overwatchleague.com' -H 'DNT: 1' -H 'Connection: keep-alive' -H 'Pragma: no-cache' -H 'Cache-Control: no-cache' -H 'TE: Trailers' --data-raw '{"accountId":"{ACCOUNT ID}","videoId":"{YOUTUBE ID}","type":"video_player","entryId":"{ACQUIRED FROM NUXTDATA}","locale":"zh-cn"}
curl 'https://sentinel.majorleaguegaming.com/api/v1/viewers/owl' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:76.0) Gecko/20100101 Firefox/76.0' -H 'Accept: application/json' -H 'Accept-Language: zh-CN,en-US;q=0.7,en;q=0.3' --compressed -H 'Referer: https://overwatchleague.com/en-us/' -H 'Content-Type: application/json' -H 'Origin: https://overwatchleague.com' -H 'Connection: keep-alive' -H 'TE: Trailers' --data-raw '{"accountId":"YOUR_ACCOUNT_NUMBER "}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment