Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为PhantomJSDownloader添加新的构造函数,支持phantomjs自定义命令 #407

Merged
merged 1 commit into from Dec 2, 2016

Conversation

ghost
Copy link

@ghost ghost commented Dec 2, 2016

为PhantomJSDownloader添加新的构造函数,支持phantomjs自定义命令
example:

  • phantomjs.exe 支持windows环境
  • phantomjs --ignore-ssl-errors=yes 忽略抓取地址是https时的一些错误
  • /usr/local/bin/phantomjs 命令的绝对路径,避免因系统环境变量引起的IOException

为PhantomJSDownloader添加新的构造函数,支持phantomjs自定义命令
 example: 
   *    phantomjs.exe 支持windows环境
   *    phantomjs --ignore-ssl-errors=yes 忽略抓取地址是https时的一些错误
   *    /usr/local/bin/phantomjs 命令的绝对路径,避免因系统环境变量引起的IOException
@code4craft code4craft merged commit 65fe2c4 into code4craft:master Dec 2, 2016
@code4craft code4craft added this to the WebMagic-0.6.0 milestone Dec 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants