| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -253,12 +253,20 @@ fn get_page(url: &str) -> Result<Response, Error> { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					fn get_page_with_cookies(url: &str, cookie_str: &str) -> Result<Response, Error> { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    CLIENT | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .get(url) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .header("cookie", cookie_str) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .send()? | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .error_for_status() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        .map_err(Into::into) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    if cookie_str.is_empty() { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        CLIENT | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            .get(url) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            .send()? | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            .error_for_status() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            .map_err(Into::into) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } else { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        CLIENT | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            .get(url) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            .header("cookie", cookie_str) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            .send()? | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            .error_for_status() | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            .map_err(Into::into) | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					} | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					/// Returns a Integer with the priority of the type of the icon which to prefer.
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |