diff --git a/url2markdown/file.py b/url2markdown/file.py index 9018a6e..5c6f55d 100644 --- a/url2markdown/file.py +++ b/url2markdown/file.py @@ -7,4 +7,5 @@ def write_to_file(article, header): f.write(header) f.write('------') f.write('\n') + with open(str(article.title) + ".md", 'a') as f: f.write(markdown)