public Site setDomain(String domain) {
        this.domain = domain;
        return this;
    }
set the domain of site.

@param domain domain
@return this
webmagic-core/src/main/java/us/codecraft/webmagic/Site.java