mirror of
				https://github.com/mendableai/firecrawl.git
				synced 2025-11-04 12:03:00 +00:00 
			
		
		
		
	Update single_url.ts
This commit is contained in:
		
							parent
							
								
									3ea801d9dd
								
							
						
					
					
						commit
						1fc3a15149
					
				@ -282,8 +282,8 @@ export async function scrapSingleUrl(
 | 
			
		||||
    // Check for custom scraping conditions
 | 
			
		||||
    const customScrapedContent = await handleCustomScraping(text, url);
 | 
			
		||||
    if (customScrapedContent) {
 | 
			
		||||
      text = customScrapedContent[0];
 | 
			
		||||
      screenshot = customScrapedContent[1];
 | 
			
		||||
      text = customScrapedContent.html;
 | 
			
		||||
      screenshot = customScrapedContent.screenshot;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    //* TODO: add an optional to return markdown or structured/extracted content
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user