From c969451a1c25d50266717d19b8edd7772cde247c Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 4 Feb 2019 18:45:25 -0800 Subject: [PATCH] dont clobber pocket timestamps --- archivebox/parse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/parse.py b/archivebox/parse.py index 054d5f53..6b08a76e 100644 --- a/archivebox/parse.py +++ b/archivebox/parse.py @@ -82,7 +82,7 @@ def parse_pocket_export(html_file): 'url': fixed_url, 'domain': domain(fixed_url), 'base_url': base_url(fixed_url), - 'timestamp': str(datetime.now().timestamp()), + 'timestamp': str(time.timestamp()), 'tags': match.group(3), 'title': match.group(4).replace(' — Readability', '').replace('http://www.readability.com/read?url=', '') or fetch_page_title(fixed_url), 'sources': [html_file.name],