Less sensitive bot detection
This commit is contained in:
		
							parent
							
								
									4d4131e185
								
							
						
					
					
						commit
						03c8491d57
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -29,7 +29,7 @@ module Ebooks
 | 
			
		|||
      usertweets = @tweets.select { |t| t.user.screen_name.downcase == username.downcase }
 | 
			
		||||
 | 
			
		||||
      if usertweets.length > 2
 | 
			
		||||
        if (usertweets[-1].created_at - usertweets[-3].created_at) < 30
 | 
			
		||||
        if (usertweets[-1].created_at - usertweets[-3].created_at) < 10
 | 
			
		||||
          return true
 | 
			
		||||
        end
 | 
			
		||||
      end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue