Skip to content

Commit

Permalink
Add datetime_utc to jobs output
Browse files Browse the repository at this point in the history
Fix #927
  • Loading branch information
Yomguithereal committed Apr 15, 2024
1 parent ebfd1e9 commit 45171ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions minet/crawl/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ class CrawlResult(Generic[CrawlJobDataType, CrawlResultDataType]):
"resolved_url",
"error",
"status",
"datetime_utc",
"mimetype",
"degree",
"body_size",
Expand Down Expand Up @@ -277,6 +278,7 @@ def __csv_row__(self):
self.response.end_url if self.response else None,
self.error_code,
self.response.status if self.response else None,
self.response.end_datetime if self.response else None,
self.response.mimetype if self.response else None,
self.degree,
len(self.response) if self.response else None,
Expand Down

0 comments on commit 45171ed

Please sign in to comment.