We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This following command is returning 254. It works for other urls ( for example http://gruntjs.com )
$ phantomas --url http://google.com --no-externals FAIL: 254
I'm on MacOs with phantomas 0.11.1.
0.11.1
The text was updated successfully, but these errors were encountered:
@stefanjudis , you've found a really nice edgecase :)
$ ./bin/phantomas.js --url http://google.com --no-externals --verbose ... 20:39:51.978 Assuming google.com to be the main domain ... 20:39:52.101 Blocked request: <http://www.google.com/> ... 20:39:52.103 Page loading finished ("fail") 20:39:52.103 Event loadFailed emitted 20:39:52.104 Exiting with code #254!
google.com redirects to www.google.com, --no-externals applies a block (as www.google.com != google.com) causing the whole report to fail.
--no-externals
Fix: set main domain after all initial redirects are completed.
Sorry, something went wrong.
Ha ha... Nice. 👍 Thanks.
Please allow me to fix this one 😄
macbre
No branches or pull requests
This following command is returning 254. It works for other urls ( for example http://gruntjs.com )
I'm on MacOs with phantomas
0.11.1
.The text was updated successfully, but these errors were encountered: