xjasonlyu / 98tang_daysign Goto Github PK
View Code? Open in Web Editor NEW98tang Daysign Script
License: MIT License
98tang Daysign Script
License: MIT License
请问是我的获取方式不对吗?还是格式问题?
cPNj_123_saltkey=123;
cPNj_123_auth=321;
大概这样排列了几行是正确的吗?
好像失效了,求大佬更新
调用作者大大的flaresolverr时出现了报错
client = FlareSolverrHTTPClient(url=flaresolverr_url,
proxy=proxy_url,
cookies=cookies,
http2=True)
File "E:\python\98tang\flaresolverr.py", line 131, in init
self.http_client = httpx.Client(
^^^^^^^^^^^^^
TypeError: Client.init() got an unexpected keyword argument 'proxy'
98堂签到好像要验证码了,不知道能不能解决
请教一下,task 任务的时候 出来这个是什么问题啊?
xjasonlyu_98tang_daysign.com/xjasonlyu/98tang_daysign
/ql/shell/otask.sh: line 236: cd: raw_xjasonlyu_98tang_daysign.com/xjasonlyu: No such file or directory
timeout: failed to run command ‘98tang_daysign’: No such file or directory
就是全部复制后,放到青龙环境变量中,执行任务报错
'NoneType' object is not subscriptable
大佬,请教一下,报这个错误是怎么回事啊?
comment to: tid = 1808288, message = 不错。。。
Traceback (most recent call last):
File "/ql/data/scripts/xjasonlyu_98tang_daysign/daysign.py", line 180, in main
raw_html = daysign(cookies=cookies)
File "/ql/data/scripts/xjasonlyu_98tang_daysign/daysign.py", line 102, in daysign
soup = BeautifulSoup(r.text, 'xml')
File "/usr/local/lib/python3.10/site-packages/bs4/init.py", line 250, in init
raise FeatureNotFound(
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: xml. Do you need to install a parser library?
错误原因:Couldn't find a tree builder with the features you requested: xml. Do you need to install a parser library?
tg 服务的 bot_token 或者 user_id 未设置!!
取消推送
httpx.ConnectError: [SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)
错误原因:[SSL: UNEXPECTED_EOF_WHILE_READING] EOF occurred in violation of protocol (_ssl.c:1007)
错误原因:403 Client Error: Forbidden for url: https://www.sehuatang.net/forum.php?mod=forumdisplay&fid=103
tg 服务的 bot_token 或者 user_id 未设置!!
有人用action签到吗?github账号会不会被封呀?
Traceback (most recent call last):
File "/ql/data/scripts/xjasonlyu_98tang_daysign/daysign.py", line 4, in
import uncurl
ModuleNotFoundError: No module named 'uncurl'
/ql/config/env.sh: line 18: syntax error near unexpected token (' /ql/config/env.sh: line 18:
-H'user-agent:Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/100.0.4896.75Safari/537.36''
/ql/config/env.sh: line 18: syntax error near unexpected token (' /ql/config/env.sh: line 18:
-H'user-agent:Mozilla/5.0(WindowsNT10.0;Win64;x64)AppleWebKit/537.36(KHTML,likeGecko)Chrome/100.0.4896.75Safari/537.36''
98堂 签到异常
None
Traceback (most recent call last):
File "/home/runner/work/98tang_daysign/98tang_daysign/daysign.py", line 114, in
main()
File "/home/runner/work/98tang_daysign/98tang_daysign/daysign.py", line 100, in main
message_text = f'98堂 签到异常\n\n错误原因:{e}\n--------------------\n{raw_html}'
UnboundLocalError: local variable 'raw_html' referenced before assignment
Error: Process completed with exit code 1
请问大佬可能是什么问题呢
失效了吗?
Traceback (most recent call last):
File "/ql/data/scripts/xjasonlyu_98tang_daysign/daysign.py", line 199, in
main()
File "/ql/data/scripts/xjasonlyu_98tang_daysign/daysign.py", line 169, in main
cookies = retrieve_cookies_from_fetch('FETCH_98TANG')
File "/ql/data/scripts/xjasonlyu_98tang_daysign/daysign.py", line 137, in retrieve_cookies_from_fetch
cookie_str = parse_fetch(os.getenv(env))['headers']['cookie']
File "/ql/data/scripts/xjasonlyu_98tang_daysign/daysign.py", line 132, in parse_fetch
exec(s, {
File "", line 7
"sec-ch-ua": "\Not/A)Brand;v=\99, \Google Chrome;v=\115, \Chromium;v=\115",
^
SyntaxError: unterminated string literal (detected at line 7)
复制出来的fech格式如下,变量名称FETCH_98TANG
fetch("https://www.sehuatang.net/plugin.php?id=dd_sign:index", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.7",
"accept-language": "en,zh-CN;q=0.9,zh;q=0.8",
"cache-control": "no-cache",
"pragma": "no-cache",
"sec-ch-ua": ""Not/A)Brand";v="99", "Google Chrome";v="115", "Chromium";v="115"",
"sec-ch-ua-mobile": "?0",
"sec-ch-ua-platform": ""macOS"",
"sec-fetch-dest": "document",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "same-origin",
"sec-fetch-user": "?1",
"upgrade-insecure-requests": "1",
"cookie": "******",
"Referer": "https://www.sehuatang.net/forum.php?mod=viewthread&tid=1499862&extra=page%3D1",
"Referrer-Policy": "strict-origin-when-cross-origin"
},
"body": null,
"method": "GET"
});
签到好像又更新了,现在又不能用了
![屏幕截图 2024-01-19 094041.png](https://pic.ziyuan.wang/user/guest/2024/01/ 2024-01-19 094041_cb756d6cd8870.png)
大佬这个错误咋解决,青龙面板运行的
comment to: tid = 2066602, message = 這系列真有戲
/ql/data/scripts/qd/daysign.py:102: XMLParsedAsHTMLWarning: It looks like you're parsing an XML document using an HTML parser. If this really is an HTML document (maybe it's XHTML?), you can ignore or filter this warning. If it's XML, you should know that using an XML parser will be more reliable. To parse this document as XML, make sure you have the lxml package installed, and pass the keyword argument features="xml"
into the BeautifulSoup constructor.
soup = BeautifulSoup(r.text, 'lxml')
Traceback (most recent call last):
File "/ql/data/scripts/qd/daysign.py", line 180, in main
raw_html = daysign(cookies=cookies)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/ql/data/scripts/qd/daysign.py", line 103, in daysign
root = BeautifulSoup(soup.find('root').string, 'html.parser')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bs4/init.py", line 315, in init
elif len(markup) <= 256 and (
^^^^^^^^^^^
TypeError: object of type 'NoneType' has no len()
错误原因:object of type 'NoneType' has no len()
这个论坛是图形验证码
查了一天了毫无进展,网上找不到可用的教程,我是docker青龙和docker FlareSolverr,问ai好像也只能合并两个docker镜像。
可这我怎么操作得了😭
我还是arm版的主机,直接也不能安装FlareSolverr二进制文件
timeout: the monitored command dumped core
/ql/shell/otask.sh: line 95: 2367 Illegal instruction $timeoutCmd $which_program
升级了2.17.3版本的青龙后出现的
现在签到会提示:
错误原因:'NoneType' object is not subscriptable
辛苦大佬修复更新
11
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.