mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-04-23 19:16:06 +02:00
362a6e2ceb
Former-commit-id: 8ed321f2ba
9 lines
260 B
Python
9 lines
260 B
Python
import asyncio, websockets
|
|
async def main():
|
|
try:
|
|
async with websockets.connect('wss://stream.aisstream.io/v0/stream') as ws:
|
|
print('Connected to AIS Stream!')
|
|
except Exception as e:
|
|
print(f"Error: {e}")
|
|
asyncio.run(main())
|