def __init__(self): super(self.__class__, self).__init__() self.item_link_template = self.base_url + '/ip/%s?reviews_limit=100&' self.page_link_fname = get_full_path('data/page_links.txt') self.log_file = open(get_full_path('data/log.txt'), 'w')
def __init__(self, image_path='data/images'): super(self.__class__, self).__init__() self.image_dir = get_full_path(image_path)
def __init__(self, taxonomy_id='976759', out_file_name='data/page_links.txt'): super(self.__class__, self).__init__() self.taxonomy_id = taxonomy_id self.out_file_name = get_full_path(out_file_name)
def __init__(self, taxonomy_id="976759", out_file_name="data/page_links.txt"): super(self.__class__, self).__init__() self.taxonomy_id = taxonomy_id self.out_file_name = get_full_path(out_file_name)