ws = websocket.WebSocketApp("wss://server01.dapubg.com/socket.io/?EIO=3&transport=websocket&sid=wi0JAGnGCh55YnEABQyp",
on_message = on_message,
on_error = on_error,
on_close = on_close,
header={
'Cache-Control: no-cache',
'Cookie: __cfduid = d2e9e56503f025454002d4ea74344c6021511862753; maxtu = ce60f4c9fe65c27a4a0041ee48e881a5; maxtf = 1;maxtp = 0:0; io = wi0JAGnGCh55YnEABQyp',
'User-Agent:Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 YaBrowser/18.2.0.284 Yowser/2.5 Safari/537.36',
})