Add searching feature
This commit is contained in:
		@@ -2,7 +2,10 @@ import crypto from "crypto";
 | 
			
		||||
import fs from "fs/promises";
 | 
			
		||||
import Parser from "rss-parser";
 | 
			
		||||
import { config } from "../services/config.js";
 | 
			
		||||
import { enhanceArticleContent, closeBrowser } from "../services/content-extractor.js";
 | 
			
		||||
import {
 | 
			
		||||
  closeBrowser,
 | 
			
		||||
  enhanceArticleContent,
 | 
			
		||||
} from "../services/content-extractor.js";
 | 
			
		||||
import {
 | 
			
		||||
  getFeedById,
 | 
			
		||||
  getFeedByUrl,
 | 
			
		||||
@@ -13,8 +16,8 @@ import {
 | 
			
		||||
  saveFeed,
 | 
			
		||||
} from "../services/database.js";
 | 
			
		||||
import {
 | 
			
		||||
  openAI_ClassifyFeed,
 | 
			
		||||
  openAI_ClassifyEpisode,
 | 
			
		||||
  openAI_ClassifyFeed,
 | 
			
		||||
  openAI_GeneratePodcastContent,
 | 
			
		||||
} from "../services/llm.js";
 | 
			
		||||
import { updatePodcastRSS } from "../services/podcast.js";
 | 
			
		||||
@@ -426,7 +429,7 @@ async function processRetryQueue(abortSignal?: AbortSignal): Promise<void> {
 | 
			
		||||
        closeError,
 | 
			
		||||
      );
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
    // Close Puppeteer browser on exit
 | 
			
		||||
    await closeBrowser();
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user