feat: 清理隐私,环境变量配置

This commit is contained in:
mango
2026-02-23 08:34:21 +08:00
commit 8b185c799a
10 changed files with 739 additions and 0 deletions

8
gen_session.py Normal file
View File

@@ -0,0 +1,8 @@
from pyrogram import Client
api_id = int(input("API_ID: "))
api_hash = input("API_HASH: ")
with Client("user", api_id=api_id, api_hash=api_hash) as app:
print("\n\nSession String:")
print(app.export_session_string())