Browse Source

Code

master
David Larlet 3 months ago
parent
commit
7afb79b1fa
Signed by: David Larlet <david@larlet.fr> GPG Key ID: 3E2953A359E7E7BD
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      cache.py

+ 2
- 0
cache.py View File

@@ -146,6 +146,8 @@ def new(url):
open(result_path, "w").write(page)
# Generating the HTML file.
create(hash_url)
md_line = f"> <cite>*[{title}]({url})*</cite>"
print(md_line)
os.popen(f'subl "{result_path}"')



Loading…
Cancel
Save