xxcosmos / buy_pig_plan_python Goto Github PK
View Code? Open in Web Editor NEWbuy_pig_plan 的 Python 版,电话攻击(电话轰炸、可代替短信轰炸)、留言攻击工具。
License: MIT License
buy_pig_plan 的 Python 版,电话攻击(电话轰炸、可代替短信轰炸)、留言攻击工具。
License: MIT License
系统centos7,drive已安装
`[root@ip-172-26-38-6 buy_pig_plan_python]# python3 main.py
Traceback (most recent call last):
File "main.py", line 7, in
from config import settings
File "/home/centos/buy_pig_plan_python/config.py", line 15, in
"driver":webdriver.Firefox(),
File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/firefox/webdriver.py", line 174, in init
keep_alive=True)
File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 157, in init
self.start_session(capabilities, browser_profile)
File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python3.6/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: Unable to find a matching set of capabilities
`
Traceback (most recent call last):
File "C:/Users/Administrator/Desktop/buy_pig_plan_python/main.py", line 62, in
main()
File "C:/Users/Administrator/Desktop/buy_pig_plan_python/main.py", line 19, in main
url_list = get_url_list()
File "C:/Users/Administrator/Desktop/buy_pig_plan_python/main.py", line 57, in get_url_list
url_list = json.load(f)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\json_init_.py", line 293, in load
return loads(fp.read(),
UnicodeDecodeError: 'gbk' codec can't decode byte 0xae in position 67: illegal multibyte sequence
Traceback (most recent call last):
File "D:\buy_pig_plan_python-master\main.py", line 62, in
main()
File "D:\buy_pig_plan_python-master\main.py", line 19, in main
url_list = get_url_list()
File "D:\buy_pig_plan_python-master\main.py", line 57, in get_url_list
url_list = json.load(f)
File "C:\Users\hgx\AppData\Local\Programs\Python\Python38\lib\json_init_.py", line 293, in load
return loads(fp.read(),
UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 39: illegal multibyte sequence
您好,想请问一下能否更新一下请求网站的json文件,因为我看原作者两个月前重新更新了js,不知能否更新一下,谢谢您
你好,如何解决
需要多开一个线程爬取匿名代理
以上
Traceback (most recent call last):
File "C:\Users\xiao\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line 76, in start
stdin=PIPE)
File "C:\Users\xiao\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 709, in init
restore_signals, start_new_session)
File "C:\Users\xiao\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 997, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] 系统找不到指定的文件。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "buy_pig_plan/main.py", line 7, in
from config import settings
File "E:\xiao\attack\buy_pig_plan\config.py", line 15, in
"driver":webdriver.Firefox(),
File "C:\Users\xiao\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 164, in init
self.service.start()
File "C:\Users\xiao\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line 83, in start
os.path.basename(self.path), self.start_error_message)
selenium.common.exceptions.WebDriverException: Message: 'geckodriver' executable needs to be in PATH.
是否只支持 Firefox ?
可否支持 Chrome ?
The version of firefox cannot be detected. Trying with latest driver version
Traceback (most recent call last):
File "E:\软件\python\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 38, in get_path
path = SeleniumManager().driver_location(options) if path is None else path
File "E:\软件\python\lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 97, in driver_location
options.binary_location = browser_path
File "E:\软件\python\lib\site-packages\selenium\webdriver\firefox\options.py", line 72, in binary_location
self.binary = value
File "E:\软件\python\lib\site-packages\selenium\webdriver\firefox\options.py", line 57, in binary
new_binary = FirefoxBinary(new_binary)
File "E:\软件\python\lib\site-packages\selenium\webdriver\firefox\firefox_binary.py", line 51, in init
"Failed to find firefox binary. You can set it by specifying "
selenium.common.exceptions.WebDriverException: Message: Failed to find firefox binary. You can set it by specifying the path to 'firefox_binary':
from selenium.webdriver.firefox.firefox_binary import FirefoxBinary
binary = FirefoxBinary('/path/to/binary')
driver = webdriver.Firefox(firefox_binary=binary)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "main.py", line 7, in
from config import settings
File "E:\软件\电话轰炸\4-\buy_pig_plan_python\config.py", line 15, in
"driver":webdriver.Firefox(),
File "E:\软件\python\lib\site-packages\selenium\webdriver\firefox\webdriver.py", line 59, in init
self.service.path = DriverFinder.get_path(self.service, options)
File "E:\软件\python\lib\site-packages\selenium\webdriver\common\driver_finder.py", line 41, in get_path
raise NoSuchDriverException(msg) from err
selenium.common.exceptions.NoSuchDriverException: Message: Unable to obtain driver for firefox using Selenium Manager.; For documentation on this error, please v
isit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors/driver_location
AttributeError: module 'selenium.webdriver.chrome' has no attribute 'set_page_load_timeout'
将main.py第56-59行改为
f = open(filepath, encoding='UTF-8') //此处编码需要改为UTF-8
url_list = json.load(f)
return url_list
你好作者,鉴于目前大部分网址无效。建议新增一个功能,凡是失败的网址自动删除,最后得到一个有效的网址列表,这样效率更高
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.