macbre/phantomas — pull request #200 by macbre (2014-01-02 20:38:34+00:00)
Title: blockDomains: handle redirects

``--no-externals`` fails when initial redirect changes the domain

Fixes #197

```
$ phantomas --url http://google.com --no-externals --verbose --modules blockDomains

...
20:32:05.307 Block domains: assuming "www.google.pl" to be the main domain
20:32:05.651 Blocked request:
...
phantomas v0.11.1 metrics for :
```