
    i                     `    d Z ddlmZ ddlmZ ddlmZmZ dddddd	d
Zg Z	dZ
e
dz   Zd Zd Zy)a  Emojipedia

Emojipedia is an emoji reference website which documents the meaning and
common usage of emoji characters in the Unicode Standard.  It is owned by Zedge
since 2021. Emojipedia is a voting member of The Unicode Consortium.[1]

[1] https://en.wikipedia.org/wiki/Emojipedia
    )	urlencode)html)eval_xpath_listextract_textzhttps://emojipedia.org	Q22908129NFHTML)websitewikidata_idofficial_api_documentationuse_official_apirequire_api_keyresultsz/search?{query}c                 N    t         j                  t        d| i            |d<   |S )Nq)queryurl)
search_urlformatr   )r   paramss     )/root/searxng/searx/engines/emojipedia.pyrequestr   "   s.    %%e% & F5M M    c                     g }t        j                  | j                        }t        |d      D ]D  }t        |j
                  j                  d      z   }|t        |      dd}|j                  |       F |S )Nz*//div[starts-with(@class, "EmojisList")]/ahref )r   titlecontent)	r   
fromstringtextr   base_urlattribgetr   append)respr   domresultr   ress         r   responser(   )   sm    G
//$))
$C!#'ST **622L$8RHs Nr   )__doc__urllib.parser   lxmlr   searx.utilsr   r   about
categoriesr    r   r   r(    r   r   <module>r0      sS    #  ("&	 
#))
r   