mirror of
https://github.com/ArchiveBox/ArchiveBox
synced 2024-11-26 22:20:21 +00:00
dont clobber pocket timestamps
This commit is contained in:
parent
c32a385e8f
commit
c969451a1c
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ def parse_pocket_export(html_file):
|
||||||
'url': fixed_url,
|
'url': fixed_url,
|
||||||
'domain': domain(fixed_url),
|
'domain': domain(fixed_url),
|
||||||
'base_url': base_url(fixed_url),
|
'base_url': base_url(fixed_url),
|
||||||
'timestamp': str(datetime.now().timestamp()),
|
'timestamp': str(time.timestamp()),
|
||||||
'tags': match.group(3),
|
'tags': match.group(3),
|
||||||
'title': match.group(4).replace(' — Readability', '').replace('http://www.readability.com/read?url=', '') or fetch_page_title(fixed_url),
|
'title': match.group(4).replace(' — Readability', '').replace('http://www.readability.com/read?url=', '') or fetch_page_title(fixed_url),
|
||||||
'sources': [html_file.name],
|
'sources': [html_file.name],
|
||||||
|
|
Loading…
Reference in a new issue