extraRule.pictureUrl = new Selector(".main-image img, body>img", "attr", "src", null, null);
extraRule.pictureHighRes = new Selector(".main-image img, body>img", "attr", "src", "(.*)_fw\\d{3}$", null);
sites.add(new Site(66, "花瓣网",
"http://huaban.com/?page={page:1}",
"http://huaban.com/{idCode:}/{pageStr:?max={page:minid}&limit=20&wfl=1}",
<BUG>null,
null,
indexRule, galleryRule, null, extraRule,</BUG>
Site.FLAG_NO_RATING + "|" + Site.FLAG_JS_NEEDED_ALL + "|" + Site.FLAG_EXTRA_INDEX_INFO
+ "|" + Site.FLAG_SINGLE_PAGE_BIG_PICTURE + "|" + Site.FLAG_WATERFALL_AS_LIST));

extraRule.pictureUrl = new Selector(".main-image img, body>img", "attr", "src", null, null);
extraRule.pictureHighRes = new Selector(".main-image img, body>img", "attr", "src", "(.*)_fw\\d{3}$", null);
sites.add(new Site(66, "花瓣网",
"http://huaban.com/?page={page:1}",
"http://huaban.com/{idCode:}/{pageStr:?max={page:minid}&limit=20&wfl=1}",
"http://huaban.com/search/?q={keyword:}&page={page:1}&per_page=20&wfl=1",
"http://huaban.com/login",
indexRule, galleryRule, null, extraRule,
Site.FLAG_NO_RATING + "|" + Site.FLAG_JS_NEEDED_ALL + "|" + Site.FLAG_EXTRA_INDEX_INFO
+ "|" + Site.FLAG_SINGLE_PAGE_BIG_PICTURE + "|" + Site.FLAG_WATERFALL_AS_LIST));
