mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 07:04:27 -04:00
use parsed timestamps instead of now
This commit is contained in:
parent
21c62043e3
commit
af8b9b5fdf
2 changed files with 4 additions and 4 deletions
|
@ -185,7 +185,7 @@ def parse_bookmarks_export(html_file):
|
|||
'url': url,
|
||||
'domain': domain(url),
|
||||
'base_url': base_url(url),
|
||||
'timestamp': str(datetime.now().timestamp()),
|
||||
'timestamp': str(time.timestamp()),
|
||||
'tags': "",
|
||||
'title': match.group(3).strip() or fetch_page_title(url),
|
||||
'sources': [html_file.name],
|
||||
|
@ -218,7 +218,7 @@ def parse_pinboard_rss_feed(rss_file):
|
|||
'url': url,
|
||||
'domain': domain(url),
|
||||
'base_url': base_url(url),
|
||||
'timestamp': str(datetime.now().timestamp()),
|
||||
'timestamp': str(time.timestamp()),
|
||||
'tags': tags,
|
||||
'title': title or fetch_page_title(url),
|
||||
'sources': [rss_file.name],
|
||||
|
@ -243,7 +243,7 @@ def parse_medium_rss_feed(rss_file):
|
|||
'url': url,
|
||||
'domain': domain(url),
|
||||
'base_url': base_url(url),
|
||||
'timestamp': str(datetime.now().timestamp()),
|
||||
'timestamp': str(time.timestamp()),
|
||||
'tags': '',
|
||||
'title': title or fetch_page_title(url),
|
||||
'sources': [rss_file.name],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue