mirror of
				https://github.com/searxng/searxng.git
				synced 2025-11-04 03:27:06 -05:00 
			
		
		
		
	[mod] Ask engine: remove tracking paramaters and set max page to 5
This commit is contained in:
		
							parent
							
								
									bf3845b093
								
							
						
					
					
						commit
						b6fe2cad71
					
				@ -19,6 +19,7 @@ about = {
 | 
				
			|||||||
# Engine Configuration
 | 
					# Engine Configuration
 | 
				
			||||||
categories = ['general']
 | 
					categories = ['general']
 | 
				
			||||||
paging = True
 | 
					paging = True
 | 
				
			||||||
 | 
					max_page = 5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Base URL
 | 
					# Base URL
 | 
				
			||||||
base_url = "https://www.ask.com/web"
 | 
					base_url = "https://www.ask.com/web"
 | 
				
			||||||
@ -61,7 +62,7 @@ def response(resp):
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        results.append(
 | 
					        results.append(
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                "url": item['url'],
 | 
					                "url": item['url'].split('&ueid')[0],
 | 
				
			||||||
                "title": item['title'],
 | 
					                "title": item['title'],
 | 
				
			||||||
                "content": item['abstract'],
 | 
					                "content": item['abstract'],
 | 
				
			||||||
                "publishedDate": pubdate_original,
 | 
					                "publishedDate": pubdate_original,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user