mirror of
https://github.com/XiaoGe-LiBai/yangmao.git
synced 2025-12-19 06:04:33 +08:00
更新 dml.py
This commit is contained in:
6
dml.py
6
dml.py
@@ -3,12 +3,12 @@ import requests
|
|||||||
|
|
||||||
message = ''
|
message = ''
|
||||||
# 本地测试用环境变量设置
|
# 本地测试用环境变量设置
|
||||||
os.environ['dmlck'] = ''
|
os.environ['dmlCookie'] = ''
|
||||||
|
|
||||||
if not os.environ.get('dmlck'):
|
if not os.environ.get('dmlCookie'):
|
||||||
print('叼毛CK都没跑个毛啊?')
|
print('叼毛CK都没跑个毛啊?')
|
||||||
else:
|
else:
|
||||||
accounts_list = os.environ.get('dmlck').split('&')
|
accounts_list = os.environ.get('dmlCookie').split('&')
|
||||||
|
|
||||||
num_of_accounts = len(accounts_list)
|
num_of_accounts = len(accounts_list)
|
||||||
print(f"获取到 {num_of_accounts} 个账号")
|
print(f"获取到 {num_of_accounts} 个账号")
|
||||||
|
|||||||
Reference in New Issue
Block a user