bytic / goutte-phantomjs-bridge
用于从racetec网站获取数据的爬虫
1.0.13
2024-04-14 17:52 UTC
Requires
- php: ^8.0
- jonnyw/php-phantomjs: ^5.0
- symfony/browser-kit: ^4.4|^5.0|^6.0|^7.0
- symfony/dependency-injection: ^4.0|^5.0|^6.0|^7.0
Requires (Dev)
- bytic/phpqatools: ^1.0
README
使用Goutte通过PhantomJs客户端
安装
建议您使用Composer安装PHP PhantomJS。首先,将以下内容添加到您项目中的composer.json文件中
#composer.json "scripts": { "post-install-cmd": [ "ByTIC\\GouttePhantomJs\\Composer\\PhantomInstaller::installPhantomJS" ], "post-update-cmd": [ "ByTIC\\GouttePhantomJs\\Composer\\PhantomInstaller::installPhantomJS" ] }
最后,从项目根目录安装库
$ composer require bytic/goutte-phantomjs-bridge