@Override
            public RequestMatcher.MatchOther processPage(Page page) {
                page.putField("reponame", page.getHtml().xpath("//h1[@class='entry-title public']/strong/a/text()").toString());
                return RequestMatcher.MatchOther.YES;
            }
Created with IntelliJ IDEA.
User: Sebastian MA
Date: April 04, 2014
Time: 21:23
webmagic-extension/src/main/java/us/codecraft/webmagic/example/PatternProcessorExample.java