好用
感谢分享
1 Like
暂时不想动了,基本上除了我使用上出问题,大概率是不会维护了
11 Likes
这个青龙版本是那个版本 哈哈 我好久没更新了 能在服务器手动执行一下 apk add chromium
apk add chromium-chromedriver这个两个命令吗
3 Likes
可以在容器内部手动执行
1 Like
好的 感谢大佬
4 Likes
请问下大佬这种需要怎么改,每次打开5、6个帖子之后就会这样报错,并且浏览帖子的时间也会慢慢变长
[14:44:13 INFO] 已关闭第 8/178 个帖子 : 佬友们,别藏私了,快把妹子图的提示词分享出来~
[14:44:16 INFO] 打开第 9/178 个帖子 :NAS,网络类 有问必答!(不定时)
[14:45:01 INFO] 📈 当前帖子浏览量为1826
[14:45:01 INFO] 🥳 当前帖子浏览量大于设定值1000,开始进行点赞操作
[14:45:11 INFO] 点赞帖子成功
[14:45:12 INFO] 浏览该帖子时间: 47.79秒
[14:45:35 ERROR] 处理帖子时出错: Message: timeout: Timed out receiving message from renderer: 20.000
(Session info: chrome=128.0.6613.113)
[14:45:35 INFO] 🎉恭喜:,帖子浏览全部完成
[14:45:36 ERROR] 运行过程中出错: Message: no such window: target window already closed
from unknown error: web view not found
(Session info: chrome=128.0.6613.113)
6 Likes
这不会被封么?
6 Likes
大佬 报这个错 啥意思 Traceback (most recent call last):
File “/ql/data/scripts/Linux.do.py”, line 8, in
from selenium import webdriver
ModuleNotFoundError: No module named ‘selenium’
1 Like
少了python的selenium
依赖
3 Likes
少了python依赖
2 Likes
可以了 大佬
2 Likes
想問一下, 昨天剛安裝, 有以下錯誤
是我的伺服器問題或什麼呢?
[11:14:06 INFO] 登录成功
[11:14:06 INFO] --- 开始滚动页面加载更多帖子 ---
[11:14:11 INFO] 页面滚动完成,已停止加载更多帖子
[11:14:11 INFO] 共找到 150 个帖子
[11:14:11 INFO] --- 开始浏览帖子 ---
[11:14:11 INFO] 跳过置顶的帖子:欢迎来到 LINUX DO!
[11:14:11 ERROR] 处理帖子时出错: list index out of range
3 Likes
感谢大佬制作~
3 Likes
确定这个脚本不违规么?我这才知道论坛有等级。
6 Likes
去掉配置SCROLL_DURATION
这个环境变量,就跑默认的试试,如果运行几次还是这样那我就不太清楚了
4 Likes
始皇说过了不管浏览和点赞,不能搞自动回帖
8 Likes
奇怪, 改了就由150變到30 (原本數值為5). … 有得幫忙debug 嗎?
[21:43:11 INFO] --- 开始滚动页面加载更多帖子 ---
[21:43:11 INFO] 页面滚动完成,已停止加载更多帖子
[21:43:11 INFO] 共找到 30 个帖子
[21:43:11 INFO] --- 开始浏览帖子 ---
[21:43:12 INFO] 跳过置顶的帖子:欢迎来到 LINUX DO!
[21:43:12 ERROR] 处理帖子时出错: list index out of range
1 Like
昨天开始突然不能用了,求助大佬
[09:41:15 INFO] 共找到 1 个账户
[09:41:15 INFO] 启动 Selenium
[09:41:15 INFO] 初始化完成
Traceback (most recent call last):
File "/ql/data/scripts/WowYiJiu_Linux.do-KeepAlive/Linux.do.py", line 455, in <module>
linuxdo_browser.run()
File "/ql/data/scripts/WowYiJiu_Linux.do-KeepAlive/Linux.do.py", line 262, in run
self.driver = webdriver.Chrome(
^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chrome/webdriver.py", line 45, in __init__
super().__init__(
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/chromium/webdriver.py", line 66, in __init__
super().__init__(command_executor=executor, options=options)
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 212, in __init__
self.start_session(capabilities)
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 299, in start_session
response = self.execute(Command.NEW_SESSION, caps)["value"]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 354, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 229, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created
from chrome not reachable```
2 Likes
我这边尝试更新了一下,再运行看看呢
7 Likes
这个我也不大清楚。。,重复运行都这样吗,我一直运行都没出问题
4 Likes