o
    D'hÄ  ă                   @   s   d dl Z dd„ ZdS )é    Nc               	   C   s¶   dt  ddˇ› dt  ddˇ› dt  ddˇ› ť} dt  ddˇ› dt  d	d
ˇ› ť}dt  ddˇ› dt  ddˇ› ť}dt  ddˇ› dt  ddˇ› dt  ddˇ› ť}| › d|› d|› d|› ťS )aŕ  
    Generates a random user agent string mimicking the format of various software versions.

    The user agent string is composed of:
    - Lynx version: Lynx/x.y.z where x is 2-3, y is 8-9, and z is 0-2
    - libwww version: libwww-FM/x.y where x is 2-3 and y is 13-15
    - SSL-MM version: SSL-MM/x.y where x is 1-2 and y is 3-5
    - OpenSSL version: OpenSSL/x.y.z where x is 1-3, y is 0-4, and z is 0-9

    Returns:
        str: A randomly generated user agent string.
    zLynx/é   é   Ú.é   é	   r   z
libwww-FM/é   é   zSSL-MM/é   é   zOpenSSL/é   ú )ÚrandomÚrandint)Zlynx_versionZlibwww_versionZssl_mm_versionÚopenssl_version© r   úNC:\Users\shubh\Videos\agent\nova\Lib\site-packages\googlesearch/user_agents.pyÚget_useragent   s
   .  .r   )r   r   r   r   r   r   Ú<module>   s    