soonmyeong2

merging

......@@ -53,7 +53,7 @@ def date_calculate(url):
with open('db (2).json', 'rt', encoding='utf-8') as json_file:
with open('convertcsv1.json', 'rt', encoding='utf-8') as json_file:
json_data = json.load(json_file)
......@@ -65,7 +65,7 @@ for js in json_data:
js[key] = find_url_in_str(value)
# critical point
if key == "Keyword":
js[key] = "[" + value.replace("[", "").replace("]", "") + "]"
js[key] = value.replace("[", "").replace("]", "")
if key == "View":
js["D_day"] = date_calculate(js["Date"])
break
......