mirror of
https://github.com/linbailo/zyqinglong.git
synced 2026-01-15 12:50:42 +08:00
更新
This commit is contained in:
parent
47cb3ce470
commit
7174ae2c82
11
顺丰端午版本.py
11
顺丰端午版本.py
@ -13,6 +13,7 @@ import json
|
|||||||
import os
|
import os
|
||||||
import random
|
import random
|
||||||
import time
|
import time
|
||||||
|
import re
|
||||||
from datetime import datetime, timedelta
|
from datetime import datetime, timedelta
|
||||||
from sys import exit
|
from sys import exit
|
||||||
import requests
|
import requests
|
||||||
@ -1046,12 +1047,16 @@ if __name__ == '__main__':
|
|||||||
CK_NAME = 'url'
|
CK_NAME = 'url'
|
||||||
local_script_name = os.path.basename(__file__)
|
local_script_name = os.path.basename(__file__)
|
||||||
local_version = '2025.01.06'
|
local_version = '2025.01.06'
|
||||||
token = os.getenv(ENV_NAME)
|
|
||||||
|
#token = os.getenv(ENV_NAME)
|
||||||
# 将分隔符从\n改为&
|
# 将分隔符从\n改为&
|
||||||
tokens = token.split('&')
|
#tokens = token.split('\n')
|
||||||
|
tokens = re.split("\n|&",os.getenv(ENV_NAME))
|
||||||
|
from urllib.parse import quote
|
||||||
# print(tokens)
|
# print(tokens)
|
||||||
if len(tokens) > 0:
|
if len(tokens) > 0:
|
||||||
print(f"==================================\n🚚 共获取到{len(tokens)}个账号\n😣 修改By:呆呆呆呆\n==================================")
|
print(f"==================================\n🚚 共获取到{len(tokens)}个账号\n😣 修改By:呆呆呆呆\n==================================")
|
||||||
for index, infos in enumerate(tokens):
|
for index, infos in enumerate(tokens):
|
||||||
run_result = RUN(infos, index).main()
|
print(quote(infos))
|
||||||
|
run_result = RUN(quote(infos), index).main()
|
||||||
if not run_result: continue
|
if not run_result: continue
|
||||||
Loading…
Reference in New Issue
Block a user