|
@@ -45,7 +45,7 @@ if __name__ == "__main__":
|
|
|
sys.exit(1)
|
|
sys.exit(1)
|
|
|
|
|
|
|
|
output_name, markdown_text = convert_chat_html_to_markdown(input_html)
|
|
output_name, markdown_text = convert_chat_html_to_markdown(input_html)
|
|
|
- output_path = os.path.join(os.path.dirname(input_html), output_name)
|
|
|
|
|
|
|
+ output_path = os.path.join("output", output_name)
|
|
|
|
|
|
|
|
with open(output_path, "w", encoding="utf-8") as f:
|
|
with open(output_path, "w", encoding="utf-8") as f:
|
|
|
f.write(markdown_text)
|
|
f.write(markdown_text)
|