mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-10-30 17:53:31 -04:00 
			
		
		
		
	fix: Update Firefox User-Agent string (#4546)
Co-authored-by: Kuchenpirat <24235032+Kuchenpirat@users.noreply.github.com>
This commit is contained in:
		
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							172698afce
						
					
				
				
					commit
					db4789099a
				
			| @@ -15,7 +15,7 @@ try: | ||||
|  | ||||
|     _FIREFOX_UA = HEADERS["User-Agent"] | ||||
| except (ImportError, KeyError): | ||||
|     _FIREFOX_UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0" | ||||
|     _FIREFOX_UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/128.0" | ||||
|  | ||||
|  | ||||
| async def gather_with_concurrency(n, *coros, ignore_exceptions=False): | ||||
|   | ||||
| @@ -26,7 +26,7 @@ try: | ||||
|  | ||||
|     _FIREFOX_UA = HEADERS["User-Agent"] | ||||
| except (ImportError, KeyError): | ||||
|     _FIREFOX_UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/123.0" | ||||
|     _FIREFOX_UA = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:123.0) Gecko/20100101 Firefox/128.0" | ||||
|  | ||||
|  | ||||
| SCRAPER_TIMEOUT = 15 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user