Пример #1
0
 def set_page_num(self, page_num):
     msg = 'Page number must be numeric'
     self.page_num = ScholarUtils.ensure_int(page_num, msg)
Пример #2
0
 def set_cluster(self, cluster):
     """
     Sets search to a Google Scholar results cluster ID.
     """
     msg = 'cluster ID must be numeric'
     self.cluster = ScholarUtils.ensure_int(cluster, msg)