mirror of
				https://github.com/searxng/searxng.git
				synced 2025-10-31 10:37:06 -04:00 
			
		
		
		
	send constant cookie with query to Google
This commit is contained in:
		
							parent
							
								
									d2b489cdda
								
							
						
					
					
						commit
						2d5eed9b59
					
				| @ -187,6 +187,8 @@ def request(query, params): | |||||||
|     else: |     else: | ||||||
|         google_hostname = default_hostname |         google_hostname = default_hostname | ||||||
| 
 | 
 | ||||||
|  |     # original format: ID=3e2b6616cee08557:TM=5556667580:C=r:IP=4.1.12.5-:S=23ASdf0soFgF2d34dfgf-_22JJOmHdfgg | ||||||
|  |     params['cookies']['GOOGLE_ABUSE_EXEMPTION'] = 'x' | ||||||
|     params['url'] = search_url.format(offset=offset, |     params['url'] = search_url.format(offset=offset, | ||||||
|                                       query=urlencode({'q': query}), |                                       query=urlencode({'q': query}), | ||||||
|                                       hostname=google_hostname, |                                       hostname=google_hostname, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user