mirror of
				https://github.com/mendableai/firecrawl.git
				synced 2025-11-04 03:53:17 +00:00 
			
		
		
		
	Merge branch 'main' into v1-webscraper
This commit is contained in:
		
						commit
						05c250d3b8
					
				@ -61,7 +61,7 @@ export async function scrapeHelper(
 | 
			
		||||
          error: "Request timed out",
 | 
			
		||||
          returnCode: 408,
 | 
			
		||||
        }
 | 
			
		||||
      } else if (typeof e === "string" && (e.includes("Error generating completions: ") || e.includes("Invalid schema for function"))) {
 | 
			
		||||
      } else if (typeof e === "string" && (e.includes("Error generating completions: ") || e.includes("Invalid schema for function") || e.includes("LLM extraction did not match the extraction schema you provided."))) {
 | 
			
		||||
        return {
 | 
			
		||||
          success: false,
 | 
			
		||||
          error: e,
 | 
			
		||||
 | 
			
		||||
@ -8,7 +8,6 @@ describe('Blocklist Functionality', () => {
 | 
			
		||||
      'https://twitter.com/home',
 | 
			
		||||
      'https://instagram.com/explore',
 | 
			
		||||
      'https://linkedin.com/in/johndoe',
 | 
			
		||||
      'https://pinterest.com/pin/create',
 | 
			
		||||
      'https://snapchat.com/add/johndoe',
 | 
			
		||||
      'https://tiktok.com/@johndoe',
 | 
			
		||||
      'https://reddit.com/r/funny',
 | 
			
		||||
 | 
			
		||||
@ -8,7 +8,6 @@ describe('isUrlBlocked', () => {
 | 
			
		||||
      'https://twitter.com/someuser',
 | 
			
		||||
      'https://instagram.com/someuser',
 | 
			
		||||
      'https://www.linkedin.com/in/someuser',
 | 
			
		||||
      'https://pinterest.com/someuser',
 | 
			
		||||
      'https://snapchat.com/someuser',
 | 
			
		||||
      'https://tiktok.com/@someuser',
 | 
			
		||||
      'https://reddit.com/r/somesubreddit',
 | 
			
		||||
 | 
			
		||||
@ -6,7 +6,6 @@ const socialMediaBlocklist = [
 | 
			
		||||
  'twitter.com',
 | 
			
		||||
  'instagram.com',
 | 
			
		||||
  'linkedin.com',
 | 
			
		||||
  'pinterest.com',
 | 
			
		||||
  'snapchat.com',
 | 
			
		||||
  'tiktok.com',
 | 
			
		||||
  'reddit.com',
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user