mirror of
				https://github.com/searxng/searxng
				synced 2024-01-01 19:24:07 +01:00 
			
		
		
		
	[fix] duckduckgo.fetch_traist - URL of region definitions has changed
- https://duckduckgo.com/dist/util/u.7669f071a13a7daa57cb.js
updated from u661.js to u.7669f071a13a7daa57cb / should be updated
automatically?  The last change was on March 23rd in dba8977b09 [1]
- [1] https://github.com/searxng/searxng/pull/2269
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
			
			
This commit is contained in:
		
							parent
							
								
									33c099022b
								
							
						
					
					
						commit
						e97e1f9110
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -379,8 +379,8 @@ def fetch_traits(engine_traits: EngineTraits): | |||
| 
 | ||||
|     engine_traits.all_locale = 'wt-wt' | ||||
| 
 | ||||
|     # updated from u588 to u661 / should be updated automatically? | ||||
|     resp = get('https://duckduckgo.com/util/u661.js') | ||||
|     # updated from u661.js to u.7669f071a13a7daa57cb / should be updated automatically? | ||||
|     resp = get('https://duckduckgo.com/dist/util/u.7669f071a13a7daa57cb.js') | ||||
| 
 | ||||
|     if not resp.ok:  # type: ignore | ||||
|         print("ERROR: response from DuckDuckGo is not OK.") | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Markus Heiser
						Markus Heiser