Skip to content

Commit cd29677

Browse files
authored
Fix and add proxy
1 parent bb4bc70 commit cd29677

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/plugins/py1337x/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async def stats(Client, message):
2626
async def proxy(Client, callback):
2727
proxy = callback.data.split("_")[1]
2828

29-
Client.py1337x = py1337x(proxy=proxy)
29+
Client.py1337x = py1337x.Py1337x(base_url=f"https://www.{proxy}")
3030

3131
await Client.delete_messages(
3232
chat_id=callback.message.chat.id,

app/plugins/py1337x/proxies.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@
66
"x1337x.se",
77
"1337x.so",
88
"1337xx.to",
9-
"1377x.to"
9+
"1377x.to",
10+
"1337xx.to",
1011
]

0 commit comments

Comments
 (0)