Skip to content
This repository was archived by the owner on Apr 26, 2026. It is now read-only.

Commit 18b22ef

Browse files
committed
gb
1 parent 9e5d7b6 commit 18b22ef

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

-16 Bytes
Binary file not shown.

pocketoptionapi/ws/client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ async def reconnect(self):
6363
regs = self.region.get_regions()
6464
for i in regs:
6565
print(f"Reconnecting to {i}...")
66-
async with websockets.connect(i, extra_headers={"Origin": "https://m.pocketoption.com "}) as ws:
66+
async with websockets.connect(i, extra_headers={"Origin": "https://po.trade/ "}) as ws:
6767
print("Conectado a: ", i)
6868
self.websocket = ws
6969
self.url = i
@@ -86,7 +86,7 @@ async def connect(self):
8686
for url in self.region.get_regions(True):
8787
print(url)
8888
try:
89-
async with websockets.connect(url, extra_headers={"Origin": "https://m.pocketoption.com"}) as ws:
89+
async with websockets.connect(url, extra_headers={"Origin": "https://po.trade/ "}) as ws:
9090

9191
print("Conectado a: ", url)
9292
self.websocket = ws

0 commit comments

Comments
 (0)