
    SpKg                     .    d dl Z d dlmZmZ d Zd Zd Zy)    N)
ApiGatewayALL_REGIONSc            	          t         g dz   } g }| D ]b  }t        dddt        |      g      }|j                          t	        j
                         }|j                  d|       |j                  |       d |S )N	z
ap-south-2zap-southeast-3zap-southeast-4zap-southeast-5z	ca-west-1eu-central-2z
eu-south-2zil-central-1zme-central-1https://steamcommunity.comAKIAVRYQ3XK3I75DLJEH(XiKLI6uSc7V8e6J6HFenZNGGpjweOrVM84iYhwfFaccess_key_idaccess_key_secretregionsr   r   strstartrequestsSessionmountappendNEW_ALL_REGIONSall_sessionsregiongatewayaws_sessions        %/var/www/highfloat_scraper/AWSInit.pycreateAWSSessionsr      s     
# 
/ , 
'f
&.Fv;-	g mmo$$&k4g>+&
' 
    c                      g } t        dddt        d      g      }|j                          t        j                         }|j                  d|       | j                  |       | S )Nr   r	   r
   r   r   )r   r   r   r   r   r   r   )r   r   r   s      r   createAWSSessionLimitedr       sc    L(0H()	
G MMO""$K2G<$r   c            	          t         g dz   } g }| D ]b  }t        dddt        |      g      }|j                          t	        j
                         }|j                  d|       |j                  |       d |S )Nr   zhttps://csfloat.comr	   r
   r   r   r   s        r   createAWSSessionsCSFloatr"   ,   s    ! 
% 
O L! 
)!0H[M	
 	&&(/9K(
) r   )r   requests_ip_rotatorr   r   r   r    r"    r   r   <module>r%      s     74r   