Git Product home page Git Product logo

maotai's Introduction

Notice

2023/06/20
这个项目是从2023年6月开始的,感谢期间捐赠过我的所有人。
我对于作弊本身并无兴趣,只是对逆向工程和破解稍有兴趣,喜欢自己写点小玩意。
项目之所以免费放出,是因为我讨厌那些靠卖盈利的人。

综上,由于个人精力有限,项目目前功能不多。

Thanks to everyone who supported me before, this repository is currently suspended.

项目介绍

本项目由nodejs开发,系统会每日进行预约葫芦娃,i茅台

葫芦娃中奖通知暂时没做,有查询接口的可以在issues中 提供下方便后期对接

在线预约平台正在开发新版本中,原有平台已废弃,请大家敬请期待

推荐一个在线预约平台:https://github.com/bxgh01/maotai.git(支持葫芦娃+i茅台在线预约)

拉库指令

青龙拉库指令 ql repo https://github.com/yize8888/maotai.git

环境变量

  • 抓包工具(4.30更新): 点击进入 (PS:需安装指定微信版本)
平台名称 环境变量 Token
新联惠购 XLTH_COOKIE 这里填写Token
贵旅优品 GLYP_COOKIE 这里填写Token
空港乐购 KGLG_COOKIE 这里填写Token
航旅黔购 HLQG_COOKIE 这里填写Token
遵航出山 ZHCS_COOKIE 这里填写Token
贵盐黔品 GYQP_COOKIE 这里填写Token
乐旅商城 LLSC_COOKIE 这里填写Token
驿路黔寻 YLQX_COOKIE 这里填写Token

关注&交流

私信不解决项目问题,如有问题请提交 issues!

欢迎各位老哥进群技术交流(只交流技术,不谈茅台!)

点击加入TG群 点击加入QQ群1 点击加入QQ群2 GitHub stars

贡献代码

2024-02-19葫芦娃青龙脚本已开源

若您有好的想法,发现一些 BUG 并修复了,欢迎提交 Pull Request 参与开源贡献

发起 pull request 请求,提交到 master 分支,等待作者合并

友情链接

Campus-imaotai:https://github.com/oddfar/campus-imaotai(支持i茅台+开源)

声明

本项目仅做个人学习用途,我不会对因为滥用该项目导致的任何问题负责。

maotai's People

Contributors

adminkk avatar cat-kun avatar heweihao avatar xuefly3 avatar yize8888 avatar

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  avatar

maotai's Issues

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

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

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

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

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

葫芦娃

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

是不是不能用了

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

i茅台申购+小茅运

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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
}
}
}

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

抓包问题

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

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

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

token失效,请重新登录

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

不能用了吗?

开始执行... 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 秒     

如何获取各项参数?

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

青龙面板报错

{'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

这个地址是不是无效了: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

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

青龙每天第一次自动执行:
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过期了会一直刷新

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

多个用户配置问题

上海市,上海市,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(抓包小茅运)'”

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

青龙运行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”

抓包后,请问参数设备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吗?

代码错误

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

青龙面板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

葫芦娃导出问题

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

葫芦娃

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

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.