git.svenne.dk
/
public
/
misc-sysadmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24b4f75
)
make file easier to parse (move title to end, enclose it in quotes)
author
Svenne Krap
<svenne@krap.dk>
Sun, 1 Jul 2012 11:14:11 +0000
(13:14 +0200)
committer
Svenne Krap
<svenne@krap.dk>
Sun, 1 Jul 2012 11:14:11 +0000
(13:14 +0200)
save_firefox_urls.py
patch
|
blob
|
history
diff --git
a/save_firefox_urls.py
b/save_firefox_urls.py
index e030ae3904a95850e4e30895a32ba3717264315c..57cf0cf6156bc1579ecaf55652262a8f332b22d4 100755
(executable)
--- a/
save_firefox_urls.py
+++ b/
save_firefox_urls.py
@@
-68,9
+68,9
@@
for w in range(windows):
continue
print (" Found:")
print (" Entry: " + str(e))
- print (" Title: " + title)
print (" Url : " + url)
- outfp.write( str(w) + " " + str(t) + " " + str(e) + " " + title + " " + url + "\n")
+ print (" Title: " + title)
+ outfp.write( str(w) + " " + str(t) + " " + str(e) + " " + url + " \"" + title + "\"\n")
outfp.close()
print ("Saved as " + outfile)