From 5da41fa31a779093335785750fd7b060967ab240 Mon Sep 17 00:00:00 2001 From: Svenne Krap Date: Sun, 1 Jul 2012 13:14:11 +0200 Subject: [PATCH] make file easier to parse (move title to end, enclose it in quotes) --- save_firefox_urls.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/save_firefox_urls.py b/save_firefox_urls.py index e030ae3..57cf0cf 100755 --- 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) -- 2.36.1