我使用Python编写了一个网络爬虫。
为了在Heroku上部署它,我参考了这篇文章: https://www.andressevilla.com/running-chromedriver-with-python-selenium-on-heroku/, 并添加了这些构建包。 https://github.com/heroku/heroku-buildpack-google-chrome https://github.com/heroku/heroku-buildpack-chromedriver 但是当我在Heroku上运行代码时,出现了以下错误。 看起来chromedriver构建包不支持chrome构建包。
是否有其他构建包可用?或者我可以尝试其他方式来解决这个问题?
谢谢!
为了在Heroku上部署它,我参考了这篇文章: https://www.andressevilla.com/running-chromedriver-with-python-selenium-on-heroku/, 并添加了这些构建包。 https://github.com/heroku/heroku-buildpack-google-chrome https://github.com/heroku/heroku-buildpack-chromedriver 但是当我在Heroku上运行代码时,出现了以下错误。 看起来chromedriver构建包不支持chrome构建包。
是否有其他构建包可用?或者我可以尝试其他方式来解决这个问题?
谢谢!