mirror of
				https://github.com/ItzCrazyKns/Perplexica.git
				synced 2025-11-04 04:38:15 +00:00 
			
		
		
		
	Set pageContent correctly
This commit is contained in:
		@@ -213,9 +213,9 @@ class MetaSearchAgent implements MetaSearchAgentType {
 | 
			
		||||
              new Document({
 | 
			
		||||
                pageContent:
 | 
			
		||||
                  result.content ||
 | 
			
		||||
                  this.config.activeEngines.includes('youtube')
 | 
			
		||||
                  (this.config.activeEngines.includes('youtube')
 | 
			
		||||
                    ? result.title
 | 
			
		||||
                    : '' /* Todo: Implement transcript grabbing using Youtubei (source: https://www.npmjs.com/package/youtubei) */,
 | 
			
		||||
                    : '') /* Todo: Implement transcript grabbing using Youtubei (source: https://www.npmjs.com/package/youtubei) */,
 | 
			
		||||
                metadata: {
 | 
			
		||||
                  title: result.title,
 | 
			
		||||
                  url: result.url,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user