ehnait / contactputianhospital Goto Github PK
View Code? Open in Web Editor NEW电话攻击,电话炸弹,电话轰炸(可代替短信轰炸) 联系莆田医院,专门炸坏蛋,BOOM💥
电话攻击,电话炸弹,电话轰炸(可代替短信轰炸) 联系莆田医院,专门炸坏蛋,BOOM💥
google-chrome-stable is already the newest version (120.0.6099.216-1).
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
:~/contactPutianHospital# python3 main.py
Traceback (most recent call last):
File "/root/contactPutianHospital/main.py", line 117, in <module>
iterate_api('api.txt')
File "/root/contactPutianHospital/main.py", line 97, in iterate_api
page = ChromiumPage(addr_driver_opts=co)
File "/usr/local/lib/python3.9/dist-packages/DrissionPage/chromium_page.py", line 35, in __init__
super().__init__(addr_driver_opts, tab_id, timeout)
File "/usr/local/lib/python3.9/dist-packages/DrissionPage/chromium_base.py", line 50, in __init__
self._connect_browser(tab_id)
File "/usr/local/lib/python3.9/dist-packages/DrissionPage/chromium_page.py", line 80, in _connect_browser
connect_browser(self._driver_options)
File "/usr/local/lib/python3.9/dist-packages/DrissionPage/commons/browser.py", line 54, in connect_browser
test_connect(ip, port)
File "/usr/local/lib/python3.9/dist-packages/DrissionPage/commons/browser.py", line 171, in test_connect
raise BrowserConnectError(f'\n连接浏览器失败,可能原因:\n1、浏览器未启动\n2、{port}端口不是Chromium内核浏览器\n'
DrissionPage.errors.BrowserConnectError:
连接浏览器失败,可能原因:
1、浏览器未启动
2、9600端口不是Chromium内核浏览器
3、该浏览器未允许控制
4、和已打开的浏览器冲突
请尝试用ChromiumOptions指定别的端口和指定浏览器路径
===================================================
经测试:
但在debian下安装好chrome-stb版本,也依然无法开启headless运行
正常了
连接浏览器失败,可能原因:
1、浏览器未启动
2、9600端口不是Chromium内核浏览器
3、该浏览器未允许控制
4、和已打开的浏览器冲突
请尝试用ChromiumOptions指定别的端口和指定浏览器路径
你好,我发现网页元素变动了,“留电”变成了“留言”,导致程序无法运行了。我尝试自己去修复了一下,但是看起来没有正常运行,大哥能帮忙改一下,push一下吗?我学习一下,感谢
可以开无头模式吗
提交电话时的话术能修改吗,千篇一律的话术 感觉不太行
如果把ENABLE_OPT = False改为True,会报错,不发送信息
我修改了无头模式为True,然后断点单步走了一下代码,发现好像会找不到元素 。
(我没用过python所以不太熟,这些只是我的猜测)
如果有什么好的测试方法也请告诉我,我来试下,谢谢
在原有基础上新增获取验证码功能
去官网
按钮极速处理
按钮获取验证码
按钮还敢欺负我,待会就让你知道你错了
建议加入代理模式,使用代理服务器进行轰炸。
如题
未能成功部署,失败告终,可否指点一二。
运行后弹出浏览器窗口,一长串网址,显示为:{"status":0,"data":{}}
留言成功数量, 387/2943
很多网页的回复类似于:
人工客服正在接待
您好,欢迎访问,很高兴为您服务,请问您是想了解什么问题,如若没有及时回复,可随时留下电话+姓名。
现在电话咨询按钮点开是扫码联系还有主动联系的电话,能不能更新成直接在聊天框留言?这样可以直接按格式发送过去,而且直接留言貌似可以越过验证码
请问图片验证怎么去掉呢
有没有人用过?输入的手机号,实际会不会接收到电话轰炸?
修改main.py首先要打开百度,所有网页都一闪而过,正常时医院那个页面要点击留下电话号,才有用,这个程序在命令行下只显示成功打开了一个标题为xxxx的医院网站,自己新扫的网站,也是这样,这个可能没有成功留下电话,页面仅仅打开了,没能点击那个留下电话回拔,自动化是失败的。手动留下电话是有用的。但是这个程序感觉没功能没实现
Traceback (most recent call last): File "C:\Users\90322\PycharmProjects\contactPutianHospital\main.py", line 128, in <module> iterate_api('api.txt') File "C:\Users\90322\PycharmProjects\contactPutianHospital\main.py", line 107, in iterate_api page = ChromiumPage(addr_driver_opts=co) File "C:\Users\90322\PycharmProjects\contactPutianHospital\venv\lib\site-packages\DrissionPage\chromium_page.py", line 35, in __init__ super().__init__(addr_driver_opts, tab_id, timeout) File "C:\Users\90322\PycharmProjects\contactPutianHospital\venv\lib\site-packages\DrissionPage\chromium_base.py", line 50, in __init__ self._connect_browser(tab_id) File "C:\Users\90322\PycharmProjects\contactPutianHospital\venv\lib\site-packages\DrissionPage\chromium_page.py", line 80, in _connect_browser connect_browser(self._driver_options) File "C:\Users\90322\PycharmProjects\contactPutianHospital\venv\lib\site-packages\DrissionPage\commons\browser.py", line 54, in connect_browser test_connect(ip, port) File "C:\Users\90322\PycharmProjects\contactPutianHospital\venv\lib\site-packages\DrissionPage\commons\browser.py", line 171, in test_connect raise BrowserConnectError(f'\n连接浏览器失败,可能原因:\n1、浏览器未启动\n2、{port}端口不是Chromium内核浏览器\n' DrissionPage.errors.BrowserConnectError: 连接浏览器失败,可能原因: 1、浏览器未启动 2、9600端口不是Chromium内核浏览器 3、该浏览器未允许控制 4、和已打开的浏览器冲突 请尝试用ChromiumOptions指定别的端口和指定浏览器路径
有一段时间没跑了, 最近重新运行突然报这个错, 是我浏览器的问题还是代码的问题呢,辛苦作者大大看下
看了下页面好像已经不存在@class:pc-icon-leave-tel
了,使用最新代码无效果,换成了这几个标签可以正常运行,通过点击留言按钮,在对话框中填写姓名和手机号再点击提交, 不知道这样是否合理,还是原有代码也可以正常运行?
icon_leave_tel = tab.ele('@class:pc-icon-leave-message')
if icon_leave_tel:
icon_leave_tel.click(by_js=True)
leavetel_input = tab.ele('@class:tel-input ')
leavetel_input.input('18888888888')
name_input = tab.ele('@class:name-input')
name_input.input('姓名')
callback = tab.ele('@class:leaveword-submit')
if callback:
callback.click(by_js=True)
tab_title = tab.title
啊啊啊啊啊,是不是莆田系倒闭了
不知道是不是错觉。。。
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.