arcturus-script / bilibili Goto Github PK
View Code? Open in Web Editor NEW云函数实现 BiliBili 每日观看视频、自动投币、分享、漫画签到、直播签到
云函数实现 BiliBili 每日观看视频、自动投币、分享、漫画签到、直播签到
上传失败,get ETag error, please add "ETag" to CORS ExposeHeader setting
上传失败
希望能够增加“银瓜子”兑换“硬币”的功能!
请问下如何获取有效期长一点的cookie?
B站web端F12里复制过去的cookie老是不到1周就失效了,是B站新更新了cookie相关的啥吗,PC WEB端登录一直没掉,仔细看了下发现SESSDATA和bili_jct一直在变
Starting new HTTP connection (1): www.pushplus.plus:80
推送时出现错误, 原因: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
Response RequestId:286c10da-a8e5-4dbe-9c72-cef50ef43872 RetMsg:null
END RequestId:286c10da-a8e5-4dbe-9c72-cef50ef43872
Report RequestId:286c10da-a8e5-4dbe-9c72-cef50ef43872 Duration:6294ms Memory:128MB MemUsage:17.051018MB
请问,本地跑怎样配置推送
START RequestId: e7ea34e1-a8f9-47b5-9d5f-f2777c9092c1
Init Report RequestId: e7ea34e1-a8f9-47b5-9d5f-f2777c9092c1 Coldstart: 144ms (PullCode: 7ms InitRuntime: 5ms InitFunction: 132ms) Memory: 512MB MemUsage: 8.14MB
ERROR RequestId: e7ea34e1-a8f9-47b5-9d5f-f2777c9092c1 Result: {"errorCode": -1, "errorMessage": "Traceback (most recent call last): File "/var/runtime/python3/bootstrap.py", line 133, in init_handler func_handler = get_func_handler(file.rsplit(".", 1)[0], func) File "/var/runtime/python3/bootstrap.py", line 159, in get_func_handler mod = imp.load_module(mname, *imp.find_module(mname)) File "/var/lang/python3/lib/python3.6/imp.py", line 234, in load_module return load_source(name, filename, file) File "/var/lang/python3/lib/python3.6/imp.py", line 172, in load_source module = _load(spec) File "", line 675, in _load File "", line 655, in _load_unlocked File "", line 674, in exec_module File "", line 781, in get_code File "", line 741, in source_to_code File "", line 205, in _call_with_frames_removed File "/var/user/index.py", line 1 import requests ^ IndentationError: unexpected indent", "statusCode": 443}
END RequestId: e7ea34e1-a8f9-47b5-9d5f-f2777c9092c1
Report RequestId: e7ea34e1-a8f9-47b5-9d5f-f2777c9092c1 Duration: 0ms Memory: 512MB MemUsage: 8.14MB
START RequestId:e7ea34e1-a8f9-47b5-9d5f-f2777c9092c1
ERROR RequestId:e7ea34e1-a8f9-47b5-9d5f-f2777c9092c1 Result:{"errorCode":-1,"errorMessage":"Traceback (most recent call last):\n File "/var/runtime/python3/bootstrap.py", line 133, in init_handler\n func_handler = get_func_handler(file.rsplit(".", 1)[0], func)\n File "/var/runtime/python3/bootstrap.py", line 159, in get_func_handler\n mod = imp.load_module(mname, *imp.find_module(mname))\n File "/var/lang/python3/lib/python3.6/imp.py", line 234, in load_module\n return load_source(name, filename, file)\n File "/var/lang/python3/lib/python3.6/imp.py", line 172, in load_source\n module = _load(spec)\n File "\u003cfrozen importlib._bootstrap\u003e", line 675, in _load\n File "\u003cfrozen importlib._bootstrap\u003e", line 655, in _load_unlocked\n File "\u003cfrozen importlib._bootstrap_external\u003e", line 674, in exec_module\n File "\u003cfrozen importlib._bootstrap_external\u003e", line 781, in get_code\n File "\u003cfrozen importlib._bootstrap_external\u003e", line 741, in source_to_code\n File "\u003cfrozen importlib._bootstrap\u003e", line 205, in _call_with_frames_removed\n File "/var/user/index.py", line 1\n import requests\n ^\nIndentationError: unexpected indent","statusCode":443}
END RequestId:e7ea34e1-a8f9-47b5-9d5f-f2777c9092c1
Report RequestId:e7ea34e1-a8f9-47b5-9d5f-f2777c9092c1 Duration:0ms Memory:512MB MemUsage:0.000000MB
函数服务帮助文档
函数管理
触发管理
监控信息
日志查询
并发配额
部署日志
函数管理
版本:$LATEST
操作
函数配置函数代码层管理监控信息日志查询
提交方法
在线编辑
执行方法
index.main
运行环境
Python3.6
Python3.6 开发教程
下载
1
部署测试
测试事件
Hello World事件模板
{
"key1": "test value 1",
"key2": "test value 2"
}
执行摘要测试失败
请求ID
906e86d5-3720-4e60-aed2-9e8b572fbd4f
运行时间
6,051ms
运行内存
16.71MB
返回结果
Text
没有日志输出
执行日志
START RequestId:906e86d5-3720-4e60-aed2-9e8b572fbd4f
Starting new HTTP connection (1): api.bilibili.com:80
http://api.bilibili.com:80 "GET /x/space/myinfo HTTP/1.1" 200 None
{'status': True, 'userInfo': {'name': '被打断脚的孩纸', 'level': 2, 'coins': 1, 'level_exp': '205/1500', 'silence': 0}}
等级:lv2
硬币:1
经验:205/1500
正在观看视频...
Starting new HTTPS connection (1): api.bilibili.com:443
https://api.bilibili.com:443 "GET /x/web-interface/view?bvid=BV1if4y1g7Qp HTTP/1.1" 200 None
Starting new HTTPS connection (1): api.bilibili.com:443
https://api.bilibili.com:443 "POST /x/click-interface/click/web/h5 HTTP/1.1" 200 32
Starting new HTTPS connection (1): api.bilibili.com:443
https://api.bilibili.com:443 "POST /x/click-interface/web/heartbeat HTTP/1.1" 200 32
Starting new HTTPS connection (1): api.bilibili.com:443
https://api.bilibili.com:443 "POST /x/click-interface/web/heartbeat HTTP/1.1" 200 32
观看视频成功🎉🎉
Starting new HTTPS connection (1): api.bilibili.com:443
https://api.bilibili.com:443 "GET /x/web-interface/popular?ps=50&pn=1 HTTP/1.1" 200 None
获取 50 个视频成功🎉🎉
今日欲投0个硬币
投币完成,正在退出
正在分享视频...
Starting new HTTPS connection (1): api.bilibili.com:443
https://api.bilibili.com:443 "POST /x/web-interface/share/add HTTP/1.1" 200 44
分享视频[不要“做”挑战?(十三期下或十四期)]成功🎉🎉
正在进行漫画签到...
Starting new HTTPS connection (1): manga.bilibili.com:443
https://manga.bilibili.com:443 "POST /twirp/activity.v1.Activity/ClockIn HTTP/1.1" 400 94
{'code': 'invalid_argument', 'msg': 'clockin clockin is duplicate', 'meta': {'argument': 'clockin'}}
漫画签到失败,因为重复签到了
正在尝试直播签到...
Starting new HTTPS connection (1): api.live.bilibili.com:443
https://api.live.bilibili.com:443 "GET /sign/doSign HTTP/1.1" 200 86
直播签到失败,因为今日已签到过,无法重复签到
Starting new HTTPS connection (1): qyapi.weixin.qq.com:443
https://qyapi.weixin.qq.com:443 "GET /cgi-bin/gettoken?corpid=wwb0f51ff43128149c&corpsecret=eJxzUup3HCA-FnMWQyMhOT69Ob_jvHLnrJBvkfZBIcY HTTP/1.1" 200 277
Starting new HTTPS connection (1): qyapi.weixin.qq.com:443
https://qyapi.weixin.qq.com:443 "POST /cgi-bin/message/send?access_token=Cuo1q7haXjSsThpa2vGZzIf-FJw1J64MlGPZshyaP-kksTKgpIYW7h9UNWPsWJMzD96rY3nob-RdzMg7TkhIzFFZ3KV99rMa7AO6Gb2lCppgTtEA2YuoUxR_BZg3c9ivLDbuKONNzRfaPeqxdeFAPVmR0FOZihJunJ5cIXGeYP3rPksmnUdDvvFortJbSL99abaXALzqET_aBoq8j_IuHQ HTTP/1.1" 200 124
{'errcode': 0, 'errmsg': 'ok', 'msgid': 'WpLDpQFMGSE843kRbNhgXbcXHkgJnj2JiKed1yJ47e6QFitr0Nx-WLzlKqVwWwsz44VLAzuI1EONGr-ldgfD0Q'}
Starting new HTTP connection (1): api.bilibili.com:80
http://api.bilibili.com:80 "GET /x/space/myinfo HTTP/1.1" 200 None
{'status': True, 'userInfo': {'name': '默认の称昵', 'level': 3, 'coins': 81, 'level_exp': '1710/4500', 'silence': 0}}
等级:lv3
硬币:81
经验:1710/4500
ERROR RequestId:906e86d5-3720-4e60-aed2-9e8b572fbd4f Result:{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Traceback (most recent call last):\n File "/var/user/index.py", line 386, in main\n return start()\n File "/var/user/index.py", line 266, in start\n if want_watch[cindex] == '1':\nIndexError: list index out of range","statusCode":430}
END RequestId:906e86d5-3720-4e60-aed2-9e8b572fbd4f
Report RequestId:906e86d5-3720-4e60-aed2-9e8b572fbd4f Duration:6051ms Memory:128MB MemUsage:16.707031MB
START RequestId: 1607c60f-ee94-4571-9502-ccd762507de7
Event RequestId: 1607c60f-ee94-4571-9502-ccd762507de7
Starting new HTTP connection (1): api.bilibili.com:80
http://api.bilibili.com:80 "GET /x/space/myinfo HTTP/1.1" 200 None
等级:lv5
硬币:82
经验:28704/28800
不进行观看...
Starting new HTTPS connection (1): api.bilibili.com:443
https://api.bilibili.com:443 "GET /x/web-interface/popular?ps=50&pn=1 HTTP/1.1" 200 None
获取 50 个视频成功🎉🎉
今日欲投0个硬币
投币完成,正在退出
正在分享视频...
Starting new HTTPS connection (1): api.bilibili.com:443
https://api.bilibili.com:443 "POST /x/web-interface/share/add HTTP/1.1" 200 47
Starting new HTTPS connection (1): api.bilibili.com:443
https://api.bilibili.com:443 "POST /x/web-interface/share/add HTTP/1.1" 200 44
不启用漫画签到...
正在尝试直播签到...
Starting new HTTPS connection (1): api.live.bilibili.com:443
https://api.live.bilibili.com:443 "GET /sign/doSign HTTP/1.1" 200 86
直播签到失败,因为今日已签到过,无法重复签到
等级:lv5
硬币:82
经验:28704/28800
分享视频[]:完成
漫画未签到,因为:未启用
直播未签到,因为:今日已签到过,无法重复签到
Starting new HTTP connection (1): www.pushplus.plus:80
http://www.pushplus.plus:80 "POST /send HTTP/1.1" 200 None
END RequestId: 1607c60f-ee94-4571-9502-ccd762507de7
Report RequestId: 1607c60f-ee94-4571-9502-ccd762507de7 Duration:1018ms Memory:128MB MemUsage:16.75MB
{"errorCode":1,"errorMessage":"Traceback (most recent call last):\n File "/var/runtime/python3/bootstrap.py", line 133, in init_handler\n func_handler = get_func_handler(file.rsplit(".", 1)[0], func)\n File "/var/runtime/python3/bootstrap.py", line 159, in get_func_handler\n mod = imp.load_module(mname, *imp.find_module(mname))\n File "/var/lang/python3/lib/python3.6/imp.py", line 234, in load_module\n return load_source(name, filename, file)\n File "/var/lang/python3/lib/python3.6/imp.py", line 172, in load_source\n module = _load(spec)\n File "Ϗrozen; importlib._bootstrap>", line 675, in _load\n File "Ϗrozen; importlib._bootstrap>", line 655, in _load_unlocked\n File "Ϗrozen; importlib._bootstrap_external>", line 678, in exec_module\n File "Ϗrozen; importlib._bootstrap>", line 205, in _call_with_frames_removed\n File "/var/user/index.py", line 25, in <module;>\n csrf.append(re.findall('(?<=bili_jct=)(.+?);', i)[0])\nIndexError: list index out of range","requestId":"d7cc4ae6-e476-4e83-957d-dbf3f9d37123","statusCode":443}
一直报错,回来看了下issues才明白
多账户一定要添加want_watch
0,0或者1,0
0,0是测试成功了
但是现在写1就会报错,不知道哪里的问题
如果你的脚本更新了,如何更新云函数呢?
目前的版本我直接在阿里云函数运行会出错
一周抓了三次ck,不知道是不是个例,失效好快啊
FC Invoke Start RequestId: 1-658f4160-18875173447d2689ec39e937
[success] 获取用户信息成功, 用户:
[failed] 获取视频推荐列表失败
[success] 获取硬币投递情况成功, 当前已投币 0 个
2023-12-30 06:00:02 1-658f4160-18875173447d2689ec39e937 [ERROR] {
"errorMessage": "'aid'",
"errorType": "KeyError",
"stackTrace": [
[
"File "/code/index.py"",
"line 38",
"in main",
"res = obj.start()"
],
[
"File "/code/tools.py"",
"line 3",
"in inner",
"res = fn(*args, **kwargs)"
],
[
"File "/code/bilibili.py"",
"line 415",
"in start",
""share": self.share_video(videos), # \u89c6\u9891\u5206\u4eab"
],
[
"File "/code/bilibili.py"",
"line 284",
"in share_video",
""aid": video["aid"],"
]
]
}
FC Invoke End RequestId: 1-658f4160-18875173447d2689ec39e937, Error: Unhandled function error
任务不分享视频 任务状态是打开的
需要哪个cookie的值
是bili_jct、SESSDATA、还是全值?
{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Traceback (most recent call last):\n File "/var/user/index.py", line 386, in main\n return start()\n File "/var/user/index.py", line 372, in start\n p.push_message('BiliBili', '\n'.join(msg))\n File "/var/user/push.py", line 108, in push_message\n print(f"发送消息失败: {rep.msg}")\nAttributeError: 'dict' object has no attribute 'msg'","statusCode":430}
用香港的能跑吗?
还是说这个只支持广州网呀
是因为URL不一样吗
Starting new HTTP connection (1): www.pushplus.plus:80 http://www.pushplus.plus:80 "POST /send?token=XXXXXXXXXXXXXXXX HTTP/1.1" 200 None 发送消息失败: 无效的用户token
显示的pushplus推送url为www.pushplus.plus,实际应该是pushplus.hxtrip.com,我自己修改之后可以推送成功了
连续跑5次,大约两次成功,一次报错,两次卡住(我等了3min就强制关了,可能也是这个超时错误)
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3.9/site-packages/urllib3/util/connection.py", line 96, in create_connection
raise err
File "/usr/lib/python3.9/site-packages/urllib3/util/connection.py", line 86, in create_connection
sock.connect(sa)
TimeoutError: [Errno 110] Operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
conn.connect()
File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 358, in connect
conn = self._new_conn()
File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8c9c86d0>: Failed to establish a new connection: [Errno 110] Operation timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/lib/python3.9/site-packages/urllib3/util/retry.py", line 574, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.bilibili.com', port=443): Max retries exceeded with url: /x/web-interface/popular?ps=50&pn=1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c9c86d0>: Failed to establish a new connection: [Errno 110] Operation timed out'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/ql/data/scripts/ICE99125_BiliBili_Checkin/index.py", line 38, in
main()
File "/ql/data/scripts/ICE99125_BiliBili_Checkin/index.py", line 16, in main
res = b.start(options)
File "/ql/data/scripts/ICE99125_BiliBili_Checkin/bilibili.py", line 8, in inner
res = fn(*args, **kwargs)
File "/ql/data/scripts/ICE99125_BiliBili_Checkin/bilibili.py", line 529, in start
videos = self.video_suggest() # 获取热门视频
File "/ql/data/scripts/ICE99125_BiliBili_Checkin/bilibili.py", line 359, in video_suggest
rep = req.get(
File "/usr/lib/python3.9/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/usr/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.bilibili.com', port=443): Max retries exceeded with url: /x/web-interface/popular?ps=50&pn=1 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8c9c86d0>: Failed to establish a new connection: [Errno 110] Operation timed out'))
或者
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in validate_conn
conn.connect()
File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 416, in connect
self.sock = ssl_wrap_socket(
File "/usr/lib/python3.9/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/usr/lib/python3.9/site-packages/urllib3/util/ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/usr/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/usr/lib/python3.9/ssl.py", line 1309, 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/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/lib/python3.9/site-packages/urllib3/util/retry.py", line 532, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise
raise value.with_traceback(tb)
File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
self._validate_conn(conn)
File "/usr/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in validate_conn
conn.connect()
File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 416, in connect
self.sock = ssl_wrap_socket(
File "/usr/lib/python3.9/site-packages/urllib3/util/ssl.py", line 449, in ssl_wrap_socket
ssl_sock = ssl_wrap_socket_impl(
File "/usr/lib/python3.9/site-packages/urllib3/util/ssl.py", line 493, in _ssl_wrap_socket_impl
return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
File "/usr/lib/python3.9/ssl.py", line 500, in wrap_socket
return self.sslsocket_class._create(
File "/usr/lib/python3.9/ssl.py", line 1040, in _create
self.do_handshake()
File "/usr/lib/python3.9/ssl.py", line 1309, 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/ICE99125_BiliBili_Checkin/index.py", line 38, in
main()
File "/ql/data/scripts/ICE99125_BiliBili_Checkin/index.py", line 16, in main
res = b.start(options)
File "/ql/data/scripts/ICE99125_BiliBili_Checkin/bilibili.py", line 8, in inner
res = fn(*args, **kwargs)
File "/ql/data/scripts/ICE99125_BiliBili_Checkin/bilibili.py", line 535, in start
watch_res = self.watch(videos[0]["bvid"]) # 否则看第一个热门视频
File "/ql/data/scripts/ICE99125_BiliBili_Checkin/bilibili.py", line 499, in watch
rep = req.post(
File "/usr/lib/python3.9/site-packages/requests/api.py", line 117, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib/python3.9/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.9/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))
如果我一天内重复执行2次,那投币就变成10个了,能否增加一个判断的代码
您好,我通过登录账户,输入 document.cookie
,获取cookie
后,放到 config.py
中,
测试运行的时候提示”失败, 原因: 账号异常,操作失败“
config.py
的cookie
部分如下
{
"cookie": "blackside_state=1; rpdid=|(J|)JkYlkYY0J'uY|muYluR~; xxxxxxxxx; bili_jct=xxx; b_ut=5",
"options": {
"watch": True, # 每日观看视频
"coins": 2, # 投币个数
"share": True, # 视频分享
"comics": True, # 漫画签到
"lb": True, # 直播签到
},
报错如下:
开头:
Invoke function bilibili [RequestId:e137d71d-ff32-4727-808b-808b1a15f6ef]
Response:
null
Output:
START RequestId: e137d71d-ff32-4727-808b-808b1a15f6ef
Event RequestId: e137d71d-ff32-4727-808b-808b1a15f6ef
ace/share/add HTTP/1.1" 200 63
分享视频[别瞎踢,你不知道草里藏着啥玩意]失败, 原因: 账号异常,操作失败
Starting new HTTPS connection (1): api.bilibili.com:443
https://api.bilibili.com:443 "POST /x/web-interface/share/add HTTP/1.1" 200 63
分享视频[艾尔登法环支线汇总,带你一图看清支线联系!]失败, 原因: 账号异常,操作失败
省略相似报错..........
结尾:
END RequestId: e137d71d-ff32-4727-808b-808b1a15f6ef
Report RequestId: e137d71d-ff32-4727-808b-808b1a15f6ef Duration:12826ms Memory:128MB MemUsage:16.9473MB
Summary:
Request ID: e137d71d-ff32-4727-808b-808b1a15f6ef
Run Duration: 12826
Bill Duration: 12826
Usage Memory: 16.947303771972656
Invoke Result: 0
{
"errorCode": -1,
"errorMessage": "Invoking task timed out after 3 seconds",
"requestId": "fae89984-6605-414d-a709-6c39777b5cce",
"statusCode": 433
}
{"errorCode":1,"errorMessage":"Traceback (most recent call last):\n File "/var/runtime/python3/bootstrap.py", line 133, in init_handler\n func_handler = get_func_handler(file.rsplit(".", 1)[0], func)\n File "/var/runtime/python3/bootstrap.py", line 159, in get_func_handler\n mod = imp.load_module(mname, *imp.find_module(mname))\n File "/var/lang/python3/lib/python3.6/imp.py", line 234, in load_module\n return load_source(name, filename, file)\n File "/var/lang/python3/lib/python3.6/imp.py", line 172, in load_source\n module = _load(spec)\n File "Ϗrozen; importlib._bootstrap>", line 675, in _load\n File "Ϗrozen; importlib._bootstrap>", line 655, in _load_unlocked\n File "Ϗrozen; importlib._bootstrap_external>", line 678, in exec_module\n File "Ϗrozen; importlib._bootstrap>", line 205, in _call_with_frames_removed\n File "/var/user/index.py", line 2, in <module;>\n import push\n File "/var/user/push.py", line 7\n <!DOCTYPE html>\n ^\nSyntaxError: invalid syntax","requestId":"e0d2afae-d4f6-4124-a164-3a06c61d0a36","statusCode":443}
执行日志
希望能支持账户小于指定投币数就暂停投币,因为想每天硬币的经验拿满,但是又不想直接花完,想留点硬币,但是程序里面没有可以限制的功能,故此想大佬能做个对应功能qwq
具体需要cookie的那些值啊,最好给一个列式,我是个笨比求大佬告知
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.