Reword comment.
Co-authored-by: Seeker <meaningseeking@protonmail.com>
This commit is contained in:
		
							parent
							
								
									803234d381
								
							
						
					
					
						commit
						b2b37894f7
					
				@ -128,7 +128,7 @@ def curl_check_http_content(url, user_agents: [:default], check_content: false,
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  unless http_status_ok?(details[:status])
 | 
			
		||||
    # The URL is protected by CloudFlare.
 | 
			
		||||
    # Check if the URL is protected by CloudFlare.
 | 
			
		||||
    if details[:status].to_i == 503 &&
 | 
			
		||||
       details[:file].include?("set-cookie: __cfduid=") &&
 | 
			
		||||
       details[:file].include?("server: cloudflare")
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user