过来学习一下,看能不能抢到车票回家
学习学习!
刚刚开始学下下来做个参考
看看
太好了,这两天正在研究这个
学习一下大佬的源码
为什么总是提示 发生了不可描述的错误,可能与你的非法输入(如班次)有关
萌新来学习,谢谢大佬{:5_91:}
学习学习,厉害了
发大水
看看,谢谢
大神啊
666,谢谢楼主的分享,特来学习
学习一下
666
nice
来试试看,是不是真的好用
学习下
厉害了,想要这个
Demo版本错误提示如下,麻烦大神看看
Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Users\LNG\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\common\service.py", line 76, in start
stdin=PIPE)
File "C:\Users\LNG\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 707, in __init__
restore_signals, start_new_session)
File "C:\Users\LNG\AppData\Local\Programs\Python\Python36\lib\subprocess.py", line 990, in _execute_child
startupinfo)
FileNotFoundError: 系统找不到指定的文件。
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\LNG\AppData\Local\Programs\Python\Python36\lib\threading.py", line 916, in _bootstrap_inner
self.run()
File "C:\py\Demo\Demo.py", line 415, in run
Buy_Tickets(self.username, self.password, self.order, self.passengers, self.dtime, self.starts, self.ends).start_buy()
File "C:\py\Demo\Demo.py", line 228, in start_buy
self.driver = Browser(driver_name=self.driver_name, executable_path=self.executable_path)
File "C:\Users\LNG\AppData\Local\Programs\Python\Python36\lib\site-packages\splinter\browser.py", line 63, in Browser
return driver(*args, **kwargs)
File "C:\Users\LNG\AppData\Local\Programs\Python\Python36\lib\site-packages\splinter\driver\webdriver\chrome.py", line 35, in __init__
self.driver = Chrome(chrome_options=options, **kwargs)
File "C:\Users\LNG\AppData\Local\Programs\Python\Python36\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 68, in __init__
self.service.start()
File "C:\Users\LNG\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: 'chromedriver.exe' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home