feat(crawler): sync local data

This commit is contained in:
2025-11-14 14:31:32 +02:00
parent 4ec2a608b1
commit 05a78913c0
9 changed files with 81 additions and 75 deletions
@@ -1,4 +1,5 @@
import { logger } from "@basango/logger";
import { fromUnixTime } from "date-fns";
import TurndownService from "turndown";
import { FetchCrawlerConfig } from "#crawler/config";
@@ -148,7 +149,7 @@ export class WordPressCrawler extends BaseCrawler {
body,
categories,
link,
publishedAt: new Date(timestamp * 1000),
publishedAt: fromUnixTime(timestamp),
sourceId: this.source.sourceId,
title,
},