Giter VIP home page Giter VIP logo

maotai's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

maotai's Issues

代码错误

这一段,没理解错的话,不为空的时候执行,现在这个判断,反而设置了,却不执行,请去掉 not
image

变量的参数中的“token”

抓包后,请问参数设备id是device-id,还是MT-Device-ID,另外token是不是MT-token
如果MTTokenD=山东省,青岛市,120.626290,27.972096,deviceid,MT-token,MT-Token-Wap,
运行提示:第1个用户token失效,请重新登录
如果MTTokenD=山东省,青岛市,120.626290,27.972096,deviceid,MT-token,MT-Token-Wap
运行提示:MTTokenD未正确配置,格式'省份,城市,经度,维度,设备id,token,MT-Token-Wap(抓包小茅运)'

另外iMT_Products的变量是什么,是iMT_Products=10941吗?

抓包问题

使用bxgh抓包工具, 每次启动微信后抓到的包不一样,是不是意味着每次预约需要重新抓包?重新加到环境变量中?

葫芦娃怎么才算预约成功?

在青龙面板里面简单试运行了一下葫芦娃脚本,只配置了新联惠购和乐旅商城两个token,运行日志显示如下图。但是新联惠购和乐旅商城两个小程序的预约活动都还没开始,这是怎么预约的?
Snipaste_2024-02-24_20-29-48

是不是不能用了

开始执行... 2023-12-06 02:58:23

i茅台申购+小茅运

-------------------总共1个用户-------------------
第1个用户token失效,请重新登录

企业微信机器人服务启动
企业微信机器人推送成功!

执行结束... 2023-12-06 02:58:28 耗时 5 秒

还维护吗?是不是没啥用了现在?

有几个平台都没有预约活动了,还有几个的token貌似2,3天就过期,提示未登录。
比如:
新联惠购预约开始
----第1个号----
用户未登录
新联惠购预约结束

这个地址是不是无效了:http://82.157.10.108:8086

Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 203, in _new_conn
sock = connection.create_connection(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 791, in urlopen
response = self._make_request(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 497, in _make_request
conn.request(
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 395, in request
self.endheaders()
File "/usr/local/lib/python3.10/http/client.py", line 1278, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/local/lib/python3.10/http/client.py", line 1038, in _send_output
self.send(msg)
File "/usr/local/lib/python3.10/http/client.py", line 976, in send
self.connect()
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 243, in connect
self.sock = self._new_conn()
File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 218, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f907550df90>: Failed to establish a new connection: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 845, in urlopen
retries = retries.increment(
File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='82.157.10.108', port=8086): Max retries exceeded with url: /get_mtv?DeviceID=52780558-4A7B-40D4-8407-B708CC14AC49&MTk=1705457588721&version=1.5.6&key=yaohuo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f907550df90>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/ql/data/scripts/yize8888_maotai/imaotai.swap.py", line 301, in
res = mt_add(itemCode, str(shop_id), sessionId,
File "/ql/data/scripts/yize8888_maotai/imaotai.swap.py", line 35, in mt_add
r = requests.get(
File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)

requests.exceptions.ConnectionError: HTTPConnectionPool(host='82.157.10.108', port=8086): Max retries exceeded with url: /get_mtv?DeviceID=52780558-4A7B-40D4-8407-B708CC14AC49&MTk=1705457588721&version=1.5.6&key=yaohuo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f907550df90>: Failed to establish a new connection: [Errno 111] Connection refused'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/ql/data/scripts/yize8888_maotai/imaotai.swap.py", line 315, in
s += userName + '_' + mobile + "异常信息"+e
TypeError: can only concatenate str (not "ConnectionError") to str

如何获取各项参数?

'省份,城市,经度,维度,设备id,token,MT-Token-Wap(抓包小茅运)',请问这个有示例吗 ?
另外,经度和纬度怎么获取啊, token是在哪儿看啊 ?在手机上支看到了设备id和MT-Token-Wap。
谢谢。

token失效,请重新登录

我token是胖虎获取的,那边能用,但是我单独用青龙跑这程序的时候就提示token失效,是不是程序哪里也要更新呀,i茅台版本1.5.5

用户未登录这样是正常的吗

新联惠购预约开始
----第1个号----
用户未登录
新联惠购预约结束

贵旅优品预约开始
----第1个号----
用户未登录
贵旅优品预约结束

空港乐购预约开始
----第1个号----
用户未登录
空港乐购预约结束

航旅黔购预约开始
----第1个号----
用户未登录
航旅黔购预约结束

不能用了吗?

开始执行... 2024-01-19 09:41:59

Traceback (most recent call last):
File "/ql/data/scripts/yize8888_maotai/imaotai.py", line 25, in
res_map = json.loads(os.getenv('iMT_Products', ''))
File "/usr/local/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

执行结束... 耗时 7 秒     

小矛运第一次自动执行提示任务未完成,手动执行又可以成功

青龙每天第一次自动执行:
i茅台申购+小茅运
-------------------总共1个用户-------------------
第1个用户----------------王_1596654开始任务----------------
10941_贵州茅台酒(甲辰龙年)---------------申购完成,请于1月12日18:00查看预约申购结果
2478_贵州茅台酒(珍品)---------------申购完成,请于1月12日18:00查看预约申购结果
10942_贵州茅台酒(甲辰龙年)x2---------------申购完成,请于1月12日18:00查看预约申购结果
王_159
6654---------------小茅运:任务未完成,无法领取奖励
王_159**6654正常结束任务

再次手动执行又没有问题:
i茅台申购+小茅运
-------------------总共1个用户-------------------
第1个用户----------------王_1596654开始任务----------------
10941_贵州茅台酒(甲辰龙年)---------------申购失败:今天已申购,请明日再来
2478_贵州茅台酒(珍品)---------------申购失败:今天已申购,请明日再来
10942_贵州茅台酒(甲辰龙年)x2---------------申购失败:今天已申购,请明日再来
王_159
6654---------------小茅运:领取奖励成功
王_159**6654正常结束任务

请问这个是怎么回事?

葫芦娃程序,已经获取token,但执行结果8个小程序均返回undefined

用楼主提供的工具抓的token,设置好环境变量后,执行后返回的结果这样:

新联惠购预约开始
----第1个号----
undefined
新联惠购预约结束

贵旅优品预约开始
----第1个号----
undefined
贵旅优品预约结束

空港乐购预约开始
----第1个号----
undefined
空港乐购预约结束

航旅黔购预约开始
----第1个号----
undefined
航旅黔购预约结束

遵行出山预约开始
----第1个号----
undefined
遵行出山预约结束

贵盐黔品预约开始
----第1个号----
undefined
贵盐黔品预约结束

乐旅商城预约开始
----第1个号----
undefined
乐旅商城预约结束

驿路黔寻预约开始
----第1个号----
undefined
驿路黔寻预约结束

青龙运行Traceback (most recent call last):

开始执行... 2024-01-20 15:15:03

Traceback (most recent call last):
File "/ql/data/scripts/yize8888_maotai/imaotai.py", line 25, in
res_map = json.loads(os.getenv('iMT_Products', ''))
File "/usr/local/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

执行结束... 2024-01-20 15:15:03 耗时 1 秒   

正确的添加了MTTokenD,Mt_Version

葫芦娃导出问题

建议将导出的直接变成青龙可识别的变量,需要一次一次的复制,还容易出错!!

葫芦娃token过期了会一直刷新

问题描述:
葫芦娃token过期后会一直刷新,导致有很多空白账号,而且没有一键全选删除,需要一个一个删,日志那里也一样
微信截图_20240417164705
期望的结果:
解决这个问题 ,或者做个全选,然后一键删除

葫芦娃

葫芦娃脚本里Cookie在哪里添加

多个用户配置问题

上海市,上海市,121.44781,31.23481,7B2A0154-AAAA-AAAA-AAAA-3F9E83086508,eyJ0eXAiOiJKV1QiLCJhbGciOiJIUUREMkQtNDQw5G8lcxnLPIo,eyJ0eXAiOiJKV1QiRno_Cji2YF0UbbLr-j16_Q9KeCmX9um_yYs
上海市,上海市,121.44781,31.23481,7B2A0154-AAAA-AAAA-AAAA-3F9E83086508,eyJ0eXAiOiJKV1QiLCJhbGciOiJIUUREMkQtNDQw5G8lcxnLPIo,eyJ0eXAiOiJKV1QiRno_Cji2YF0UbbLr-j16_Q9KeCmX9um_yYs
上海市,上海市,121.44781,31.23481,7B2A0154-AAAA-AAAA-AAAA-3F9E83086508,eyJ0eXAiOiJKV1QiLCJhbGciOiJIUUREMkQtNDQw5G8lcxnLPIo,eyJ0eXAiOiJKV1QiRno_Cji2YF0UbbLr-j16_Q9KeCmX9um_yYs

按照这样的格式配置单个用户,运行一切正常,但是配置多个用户,就报错
“MTTokenD未正确配置,格式'省份,城市,经度,维度,设备id,token,MT-Token-Wap(抓包小茅运)'”

哪位大佬给帮忙看看,要如何配置。

青龙运行出错,是啥原因

一个ID正常
两个ID用换行分开 报错

Traceback (most recent call last):
File "/ql/data/scripts/yize8888_maotai/new.swap.py", line 275, in
province, city, lng, lat, device_id, token, ck = mt_token.split(',')
ValueError: too many values to unpack (expected 7)·

葫芦娃

大佬 想问下有没有葫芦娃中签查询的接口demo

Bark APP发送通知调用API失败!!

HTTPError: Response code 431 (Request Header Fields Too Large)
at Request. (/ql/scripts/node_modules/.pnpm/[email protected]/node_modules/got/dist/source/as-promise/index.js:118:42)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
code: 'ERR_NON_2XX_3XX_RESPONSE',
timings: {
start: 1701823826154,
socket: 1701823826156,
lookup: 1701823826220,
connect: 1701823826254,
secureConnect: 1701823826363,
upload: 1701823826364,
response: 1701823826398,
end: 1701823826401,
error: undefined,
abort: undefined,
phases: {
wait: 2,
dns: 64,
tcp: 34,
tls: 109,
request: 1,
firstByte: 34,
download: 3,
total: 247
}
}
}

感觉是通知的内容太大了,是这个意思吗?我是两个号进行了葫芦娃预约。

青龙面板报错

{'10941': '贵州茅台酒(甲辰龙年)', '10942': '贵州茅台酒(甲辰龙年)x2'}
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 793, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 491, in _make_request
raise new_e
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1099, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 653, in connect
sock_and_verified = _ssl_wrap_socket_and_match_hostname(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 806, in ssl_wrap_socket_and_match_hostname
ssl_sock = ssl_wrap_socket(
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/util/ssl
.py", line 465, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/util/ssl
.py", line 509, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/ssl.py", line 1104, in _create
self.do_handshake()
File "/usr/local/lib/python3.11/ssl.py", line 1382, in do_handshake
self._sslobj.do_handshake()
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 847, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/util/retry.py", line 470, in increment
raise reraise(type(error), error, _stacktrace)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/util/util.py", line 38, in reraise
raise value.with_traceback(tb)
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 793, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 491, in _make_request
raise new_e
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "/usr/local/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1099, in _validate_conn
conn.connect()
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 653, in connect
sock_and_verified = _ssl_wrap_socket_and_match_hostname(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/connection.py", line 806, in ssl_wrap_socket_and_match_hostname
ssl_sock = ssl_wrap_socket(
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/util/ssl
.py", line 465, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(sock, context, tls_in_tls, server_hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/urllib3/util/ssl
.py", line 509, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/ssl.py", line 1104, in _create
self.do_handshake()
File "/usr/local/lib/python3.11/ssl.py", line 1382, in do_handshake
self._sslobj.do_handshake()
urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/ql/data/scripts/yize8888_maotai/imaotai.py", line 297, in
shop_id = get_shop_item(
^^^^^^^^^^^^^^
File "/ql/data/scripts/yize8888_maotai/imaotai.py", line 111, in get_shop_item
response = requests.get(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/requests/adapters.py", line 501, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/ql/data/scripts/yize8888_maotai/imaotai.py", line 313, in
s += userName + '_' + mobile + "异常信息"+e
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
TypeError: can only concatenate str (not "ConnectionError") to str

青龙面板2.7.14中报错

看报错都是json解析有问题,但是安装json依赖是失败的。不知道要怎么搞。
MTTokenD:上海,上海市,121.33333,31.33333,E3792FCF-CB0B-3333-B6B9-59672703E667,eyJ0eXAiOiJKV1QiLidXNlcklkIjoxMTI2ODk2MDg4LCJkZXZpY2VJZCI6IkUzNzkyRkNGLUNCMEItNEQ1Ni1CNkI5LTU5NjcyNzAzRTY2NyIsImlhdCI6MTcxNDM3NTAxOX0.5d4dYP7agt9vjBcUGPj56UhZ7F5DfNE1rb-hBgPfKxA,eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOZmY2UtNDczZS05MGZjLTJkNWIyMWEzNzZiYyIsImlhdCI6MTcxNDM3NTU4MH0._hAPfO5_qVo2Z-jb2m-s3djfnmnzgSyRutC173ldpdo

开始执行... 2024-04-30 09:02:25

{'10941': '贵州茅台酒(甲辰龙年)', '10942': '贵州茅台酒(甲辰龙年)x2'}
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/local/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/local/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/local/lib/python3.10/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/ql/data/scripts/yize8888_maotai/imaotai.py", line 297, in
shop_id = get_shop_item(
File "/ql/data/scripts/yize8888_maotai/imaotai.py", line 115, in get_shop_item
data = response.json().get('data', {})
File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/ql/data/scripts/yize8888_maotai/imaotai.py", line 313, in
s += userName + '_' + mobile + "异常信息"+e
TypeError: can only concatenate str (not "JSONDecodeError") to str

Error: Cannot find module 'moment'

运行葫芦娃预约报错了。
日志如下:

自动预约平台:https://maotai.pro:2023
node:internal/modules/cjs/loader:1080
throw err;
^

Error: Cannot find module 'moment'
Require stack:

  • /ql/data/scripts/yize8888_maotai/huluwa.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15)
    at Module._load (node:internal/modules/cjs/loader:922:27)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at require (node:internal/modules/cjs/helpers:110:18)
    at Object. (/ql/data/scripts/yize8888_maotai/huluwa.js:24:1700)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [ '/ql/data/scripts/yize8888_maotai/huluwa.js' ]
    }

Node.js v18.17.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.