未找到python、selenium、phantomjs>页面

2024-06-09 02:40:38 发布

您现在位置:Python中文网/ 问答频道 /正文

我刮这一个网站,它工作了一个月左右的罚款。今天我运行了我的脚本,但它只是下载了一个错误页面的html(找不到页面)。 该脚本作为cgi在我的web服务器上运行。你知道吗

我检查了桌面浏览器中的链接,一切正常,例如网站按预期打开。你知道吗

网址是:https://www.check24.de/handyvertrag/iphone-8/?activeForm=device&data_included=2000&minutes_included=flatrate&hwprop_model=198&young_tariff=no&orderby=empfehlung_preis&hwprop_color=egal&hwprop_memorysize=egal

我打开网站的脚本是通常的程序:

driver = webdriver.PhantomJS(executable_path = path_to_pjs)
driver.get(basis_url)

有人有什么想法吗?你知道吗


Tags: path服务器脚本web网站htmldriver错误