minkuang

Results 2 issues of minkuang

D:\AI\DingDongBot>node dingdongbot.js file:///D:/AI/DingDongBot/dingdongbot.js:20 function onScan (qrcode: string, status: ScanStatus) { ^ SyntaxError: Unexpected token ':' at ModuleLoader.moduleStrategy (node:internal/modules/esm/translators:167:18) at callTranslator (node:internal/modules/esm/loader:285:14) at ModuleLoader.moduleProvider (node:internal/modules/esm/loader:291:30) at async link (node:internal/modules/esm/module_job:76:21) Node.js v20.11.0...

"""doc""" import asyncio import logging from typing import Optional, Union from wechaty_puppet import FileBox from urllib.parse import urlparse def get_host(url: str) -> (str, str, str): parsed_url = urlparse(url) return parsed_url.scheme,...