able to define pagesize; minimize baidu ad parsing code