Skip to content

armgit / mwmbl

Public Imported from GitHub
0

An open source, non-profit web search engine

Timestamp can be float

Daoud Clarke9a6455748445
diff --git a/mwmbl/crawler/batch.py b/mwmbl/crawler/batch.py
index eaa0b9e..440f725 100644
--- a/mwmbl/crawler/batch.py
+++ b/mwmbl/crawler/batch.py
@@ -40,7 +40,7 @@ class Item(Schema):
url: str
resolved_url: Optional[str] = None
status: Optional[int] = None
- timestamp: int
+ timestamp: float
content: Optional[ItemContent] = None
error: Optional[ItemError] = None
@@ -56,7 +56,7 @@ class NewBatchRequest(Schema):
class HashedBatch(Schema):
user_id_hash: str
- timestamp: int
+ timestamp: float
items: list[Item]