def read_html(page, idx): file_path = path + "/html/page_" + str(page) + "/html_" + str(idx) + ".txt" return chosun_crawler.get_html_for_file(file_path)
def read_json(file_path): return chosun_crawler.get_html_for_file(file_path)
def read_url(page, idx): file_path = PATH + "/url/page_" + str(page) + "/url_" + str(idx) + ".txt" return chosun_crawler.get_html_for_file(file_path)