适配青龙面板
This commit is contained in:
parent
902785d94a
commit
23bb87026b
5
index.py
5
index.py
@ -234,9 +234,6 @@ class Sign(Base):
|
||||
|
||||
|
||||
# 获取要执行兑换的cookie
|
||||
pattern_pin = re.compile(r'pt_pin=([\w\W]*?);')
|
||||
|
||||
|
||||
def get_cookie():
|
||||
ck_list = []
|
||||
cookie = None
|
||||
@ -260,7 +257,7 @@ if __name__ == '__main__':
|
||||
# 此处填米游社的COOKIE
|
||||
# 注: Github Actions用户请到Settings->Secrets里设置,Name=COOKIE,Value=<获取的值>
|
||||
# 多个账号的COOKIE值之间用 # 号隔开,例如: 1#2#3#4
|
||||
COOKIE = "#".join(get_cookie)
|
||||
COOKIE = "#".join(get_cookie())
|
||||
|
||||
if os.environ.get('COOKIE', '') != '':
|
||||
COOKIE = os.environ['COOKIE']
|
||||
|
||||
Loading…
Reference in New Issue
Block a user