Skip to content

Instantly share code, notes, and snippets.

@NeverBehave
Last active Nov 6, 2020
Embed
What would you like to do?
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