- Open Developer tools in browser on Network section
- Open http://account.battle.net
- Sign in #NOTE: You will receive this cookie only once when you sign in. If you signed in, log out and repeat
- Ctrl+F in developer tools and search - BA-tassadar=





Replace BA_TASSADAR
, SERIAL_NUMBER
and RECOVERY_CODE
with your real data
ruby generate_battle_net_otp.rb BA_TASSADAR SERIAL_NUMBER RECOVERY_CODE
As result you will get the next OTP-url
otpauth://totp/Battle.net?secret=YOUSECRETLINE&digits=8