| 
			
			 | 
		#1 | |
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 27 
				Karma: 76 
				Join Date: May 2014 
				
				
				
				Device: Kindle 3 
				
				
				 | 
	
	
	
		
		
			
			 
				
				Economist recipe failing with 403 error
			 
			
			
			I'm consistently getting this error today (and I've tried from a couple of different IPs): 
		
	
		
		
		
		
		
		
		
		
		
		
	
	Quote: 
	
  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 645 
				Karma: 85520 
				Join Date: May 2021 
				
				
				
				Device: kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			its checking if connection is secure.
		 
		
	
		
		
			 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			What it's really doing is checking if you are connecting using a browser blessed by cloudflare's "bot protection". Which means you cannot connect anymore without using a browser running javascript that happens to pass a bunch of heuristics implemented in cloudflare's JS script. 
		
	
		
		
		
		
		
		
		
		
		
		
		
			"Secure" indeed, roll eyes. Last edited by kovidgoyal; 12-08-2023 at 02:55 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 27 
				Karma: 76 
				Join Date: May 2014 
				
				
				
				Device: Kindle 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Is there a way around this?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 645 
				Karma: 85520 
				Join Date: May 2021 
				
				
				
				Device: kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			can we get __NEXT_DATA__ json through waybackmachine? like nyt! 
		
	
		
		
		
		
		
		
		
		
		
		
		
			archive.is/latest/ doesn't have it ![]() Code: 
	    def print_version(self, url):
        return 'https://webcache.googleusercontent.com/search?q=cache:' + url.split('?')[0]
Last edited by unkn0wn; 12-08-2023 at 03:29 AM.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			If the google webcache works you can use it via google_get_cached_url() function that implements rate limiting globally across all calibre process/threads. But I suspect google's web cache has both rate and total requests limits.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Guru 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 645 
				Karma: 85520 
				Join Date: May 2021 
				
				
				
				Device: kindle 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			fixed. it'll work now.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Enthusiast 
			
			![]() Posts: 27 
				Karma: 76 
				Join Date: May 2014 
				
				
				
				Device: Kindle 3 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Amazing, thank you!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| HTTP Error 403: Forbidden | enuddleyarbl | Calibre | 13 | 07-08-2024 05:48 PM | 
| The Economist Recipe | NSILMike | Recipes | 6 | 05-20-2016 08:40 AM | 
| "The New York Times" recipe failing with error | mikebw | Recipes | 8 | 10-02-2015 06:48 PM | 
| Economist Recipe Failing... | awitko | Recipes | 2 | 11-07-2011 12:47 AM | 
| Economist recipe | jdomingos76 | Recipes | 1 | 03-08-2011 09:33 AM |