mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-04 03:27:06 -05:00 
			
		
		
		
	[enh] add year filter to duckduckgo
This commit is contained in:
		
							parent
							
								
									fd737dc9d8
								
							
						
					
					
						commit
						5f450fda74
					
				@ -39,7 +39,8 @@ url = 'https://html.duckduckgo.com/html'
 | 
			
		||||
url_ping = 'https://duckduckgo.com/t/sl_h'
 | 
			
		||||
time_range_dict = {'day': 'd',
 | 
			
		||||
                   'week': 'w',
 | 
			
		||||
                   'month': 'm'}
 | 
			
		||||
                   'month': 'm',
 | 
			
		||||
                   'year': 'y'}
 | 
			
		||||
 | 
			
		||||
# specific xpath variables
 | 
			
		||||
result_xpath = '//div[@class="result results_links results_links_deep web-result "]'  # noqa
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user