MCPcopy Create free account
hub / github.com/smallfawn/QLScriptPublic / run

Method run

daily/360.py:112–118  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

110 return ""
111
112 def run(self) -> CheckinResult:
113 formhash, info = self.fetch_formhash()
114 if not formhash:
115 return CheckinResult(False, "no_login_or_parse_failed", info)
116
117 time.sleep(random.uniform(1.0, 2.5))
118 return self.submit_checkin(formhash)
119
120def main():
121 # 青龙面板专用:从环境变量获取Cookie

Callers 1

mainFunction · 0.95

Calls 4

fetch_formhashMethod · 0.95
submit_checkinMethod · 0.95
CheckinResultClass · 0.85
sleepMethod · 0.80

Tested by

no test coverage detected