MihoyoBBSTools/ql_main.py
2022-10-11 14:16:09 +08:00

18 lines
372 B
Python
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

"""
new Env('米游社');
"""
import notify
from loghelper import log
from error import CookieError
from main import main
if __name__ == "__main__":
try:
status_code, message = main()
except CookieError:
status_code = 1
message = "账号Cookie出错"
log.error("账号Cookie有问题")
notify.send("米游社", message)