wyourname / bilibili_python Goto Github PK
View Code? Open in Web Editor NEW仅供参考
仅供参考
老哥帮忙看看是什么原因导致的。
**********丿阿林**********
当前经验值:12092
当前硬币数:182.2,下一等级升级天数约257
恭喜你中奖,奖品是:100崩坏3水晶 --- 兑奖up主是:忘忧甜甜圈
中将时间是:2022-07-14 11:43:40
检查白名单
已存在于白名单
Bilibili天选时刻通知
详细信息:
中将时间:【2022-07-14 11:43:40】 今天的天选中奖,奖品是:100崩坏3水晶 --- 兑奖up主是:忘忧甜甜圈
gotify 服务启动
Exception in thread gotify:
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)
ConnectionRefusedError: [Errno 111] Connection refused
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 394, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 239, in request
super(HTTPConnection, self).request(method, url, body=body, headers=headers)
File "/usr/lib/python3.9/http/client.py", line 1279, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1325, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1274, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.9/http/client.py", line 1034, in _send_output
self.send(msg)
File "/usr/lib/python3.9/http/client.py", line 974, in send
self.connect()
File "/usr/lib/python3.9/site-packages/urllib3/connection.py", line 205, 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.HTTPConnection object at 0x7f4e771cbee0>: 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 "/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: HTTPConnectionPool(host='我的服务器ip', port=5701): Max retries exceeded with url: /message?token=FJ0_uLwDoPCw (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4e771cbee0>: 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 "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/ql/data/scripts/wangquanfugui233_Bilibili_Python/notify.py", line 216, in gotify
response = requests.post(url,data=data).json()
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 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='我的服务器ip', port=5701): Max retries exceeded with url: /message?token=FJ0_uLwDoPCw (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f4e771cbee0>: Failed to establish a new connection: [Errno 111] Connection refused'))
## 执行结束... 2022-07-14 15:25:19 耗时 3 秒
是否可以增加以下功能
https://github.com/MaxSecurity/BiliExper 仓库有一些类似功能,但是不维护了,而且运行起来很麻烦没有青龙方便
请教楼主个问题。我下来跑了几天了,哪里能查询到哪些中奖了。好像一直在跑。自己不知道哪中奖了。
请求失败,错误信息:Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
都是报这个错误
天选关注主播是抽奖后立刻取消关注吗?我看到青龙面板输出关注xx主播, 进行抽奖, 然后刷新了一下自己的主页, 发现并没有关注对应的主播, dev的进程版和普通版天选都是这样
我在使用脚本前就关注了某个up并且是默认分组,脚本运行参与了该up的直播抽奖后变成了天选分区,请问是bug嘛
不知道什么原因运行不了这个脚本,其他脚本正常运行
Traceback (most recent call last):
File "/ql/data/scripts/wangquanfugui233_Bilibili_Python/ZLXQ.py", line 320, in
zlxq.run()
File "/ql/data/scripts/wangquanfugui233_Bilibili_Python/ZLXQ.py", line 298, in run
cookies = self.fetch_cookie()
File "/ql/data/scripts/wangquanfugui233_Bilibili_Python/ZLXQ.py", line 57, in fetch_cookie
cookie = cookies.split("@")
AttributeError: 'NoneType' object has no attribute 'split'
我这也是用手机搭的青龙面板,不知道是网络原因还是啥,做一会经常卡住,就在第一个账号不动了,导致后面的账号没做到
更新以后就报错了,python版本更新,也依然报错
Bilibili_Daily.py中第140行,参数过多(TypeError: get_requests() takes 1 positional argument but 2 were given)
data = self.get_requests(self.url)
修改为
data = self.get_requests()
即可
奖品是:5元红包,数量为:1,需要条件:关注主播
天选失败,原因:Expecting value: line 1 column 1 (char 0)
直播间:Vaniah维 --发现了天选时刻
直播间:人间蜜药 --发现了天选时刻
获取第367的2页直播间信息失败,原因:Expecting value: line 1 column 1 (char 0)
->正在扫描萌宠<-
奖品是:5.20元红包,数量为:1,需要条件:关注主播
奖品是:人间蜜药粉色版钥匙扣,数量为:2,需要条件:当前主播粉丝勋章至少3级
天选失败,原因:Expecting value: line 1 column 1 (char 0)
开始每日登录经验+5,一天只能加一次 ☆*: .。. o(≧▽≦)o .。.:*☆
开始投币,分享,签到,每次投币5个硬币,分享一次,直播签到
一天只需要运行一次,请勿重复运行,以免硬币流失,该脚本依据用户关注的up主投币,如果up动态过少会造成无法完成任务
-------->teap323<--------
teap323 当前经验值为:10170
teap323 当前硬币数为:81
Expecting value: line 1 column 1 (char 0)
Traceback (most recent call last):
File "/ql/data/scripts/wangquanfugui233_Bilibili_Python/Bilibili_Daily.py", line 150, in
daily.run_daily()
File "/ql/data/scripts/wangquanfugui233_Bilibili_Python/Bilibili_Daily.py", line 128, in run_daily
self.cope_DoSign(sign)
File "/ql/data/scripts/wangquanfugui233_Bilibili_Python/Bilibili_Daily.py", line 111, in cope_DoSign
if data['code'] == 0:
TypeError: 'NoneType' object is not subscriptable
筛选功能怎么用,没看到提示
Exception in thread gotify:
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn
conn = connection.create_connection(
File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 84, in create_connection
raise err
File "/usr/lib/python3.8/site-packages/urllib3/util/connection.py", line 74, 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.8/site-packages/urllib3/connectionpool.py", line 670, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 392, in _make_request
conn.request(method, url, **httplib_request_kw)
File "/usr/lib/python3.8/http/client.py", line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1007, in _send_output
self.send(msg)
File "/usr/lib/python3.8/http/client.py", line 947, in send
self.connect()
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 187, in connect
conn = self._new_conn()
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 171, in _new_conn
raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7faec37b14f0>: 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.8/site-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3.8/site-packages/urllib3/connectionpool.py", line 724, in urlopen
retries = retries.increment(
File "/usr/lib/python3.8/site-packages/urllib3/util/retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='111.121.60.178', port=8080): Max retries exceeded with url: /message?token=fh-qfaJZw7B9 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faec37b14f0>: 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.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "/ql/scripts/wangquanfugui233_Bilibili_Python/notify.py", line 212, in gotify
response = requests.post(url,data=data).json()
File "/usr/lib/python3.8/site-packages/requests/api.py", line 119, in post
return request('post', url, data=data, json=json, **kwargs)
File "/usr/lib/python3.8/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3.8/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3.8/site-packages/requests/adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='111.121.60.178', port=8080): Max retries exceeded with url: /message?token=fh-qfaJZw7B9 (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7faec37b14f0>: Failed to establish a new connection: [Errno 110] Operation timed out'))
求教各位:Cookie总是失效怎么办?
b_timer={"ffp":{"3.fp.risk_8CFC":"1837","333.42.fp.risk_8":"18A"}};
中间有一段这样的
stable和dev版都是
作者大大有无意向搞个微博或抖音抽奖的,那里奖品比b站好不少😁
请求失败,错误信息:HTTPSConnectionPool(host='api.live.bilibili.com', port=443): Max retries exceeded with url: /xlive/web-interface/v1/second/getList?platform=web&parent_area_id=1&area_id=530&page=1%20 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f49f7fddf10>: Failed to establish a new connection: [Errno -2] Name does not resolve'))
怎么办捏
运行天选时候有时会把账号给弄掉, 第一次跑没问题, 过一段时间回来发现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.