This website works better with JavaScript.
Home
Explore
Help
Sign In
davidbgk
/
larlet-fr-david-cache
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Code
master
David Larlet
10 months ago
parent
198411bad5
commit
7afb79b1fa
Signed by:
David Larlet
<david@larlet.fr>
GPG Key ID:
3E2953A359E7E7BD
1 changed files
with
2 additions
and
0 deletions
Split View
Show Diff Stats
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}"')
Write
Preview
Loading…
Cancel
Save