python,selenium,phantomjs - >网页未找到

时间:2018-03-15 14:03:24

标签: python html web-scraping phantomjs

我正在抓这个网站,它工作正常一个月。今天我运行了我的脚本,但它只是下载了错误页面的html(找不到页面)。 该脚本在我的网络服务器上以cgi身份运行。

我检查了桌面浏览器中的链接,一切都很顺利,例如该网站按预期开放。

网址为: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)

有人有任何想法吗?

0 个答案:

没有答案