Example #1
0
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)
Example #2
0
def read_json(file_path):
    return chosun_crawler.get_html_for_file(file_path)
Example #3
0
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)