def find_persons_by_type(self, type, nationality=None, gender=None,<EOL>firstletter=None, orderby='<STR_LIT>',<EOL>page=<NUM_LIT:1>, count=<NUM_LIT:20>):
url = '<STR_LIT>'<EOL>params = {<EOL>'<STR_LIT>': self.client_id,<EOL>'<STR_LIT:type>': type,<EOL>'<STR_LIT>': nationality,<EOL>'<STR_LIT>': gender,<EOL>'<STR_LIT>': firstletter,<EOL>'<STR_LIT>': orderby,<EOL>'<STR_LIT>': page,<EOL>'<STR_LIT:count>': count<EOL>}<EOL>params = remove_none_value(params)<EOL>r = requests.get(url, params=params)<EOL>check_error(r)<EOL>return r.json()<EOL>
doc: http://open.youku.com/docs/docs?id=89