403Webshell
Server IP : 138.197.107.151  /  Your IP : 216.73.217.10
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux BloxBy-Builder 6.8.0-71-generic #71-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 16:52:38 UTC 2025 x86_64
User : wpbetasites_mrakzqskir ( 1022)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/bsd-crawler-parser/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/bsd-crawler-parser/__pycache__/crawlers.cpython-312.pyc
�

< ^j3�
��dZidd�dd�dd�dd�d	d
�dd�d
d�dd�dd�dd�dd�dd�dd�dd�dd�dd �d!d"�d#d$d%d&d'd(d)d*d+��Zd,�Ze�Zd-�Zy.)/a�Registry of AI crawler user-agents we care about.

To add a crawler: add one row to AI_CRAWLERS. The key is the case-insensitive
substring to look for in the User-Agent; `label` is what shows up in reports;
`category` is one of ai_training / ai_assistant / search.

  ai_training   collects a corpus to train models on
  ai_assistant  fetches a page live, because a user asked an assistant about it
  search        builds a search index (including AI-flavoured search indexes)

Longer patterns win over shorter ones, so "Applebot-Extended" is matched
before the "Applebot" that is a substring of it. That ordering is handled
automatically in _compile_patterns() -- you do not need to sort this dict.
�GPTBot)r�ai_training�
OAI-SearchBot)r�search�ChatGPT-User)r�ai_assistant�	ClaudeBot)rr�Claude-User)r	r�Claude-SearchBot)r
r�anthropic-ai)rr�
PerplexityBot)rr�Perplexity-User)r
r�Google-Extended)rr�GoogleOther)rr�Applebot-Extended)rr�Applebot)rr�	Amazonbot)rr�
Bytespider)rr�meta-externalagent)rr�FacebookBot)rr)�CCBotr)�	cohere-air)�Diffbotr)�ImagesiftBotr)�Timpibotr)�YouBotr)�
DuckAssistBotr)�Bingbotr)rrrrrrrrc��tj�D���cgc]\}\}}|j�||f��}}}}|jd�d��|Scc}}}w)z=Lowercased (pattern, label, category), longest pattern first.c��t|d�S)N�)�len)�rows �'/var/www/bsd-crawler-parser/crawlers.py�<lambda>z#_compile_patterns.<locals>.<lambda>=s��c�#�a�&�k��T)�key�reverse)�AI_CRAWLERS�items�lower�sort)�pattern�label�category�rowss    r#�_compile_patternsr07sb��+6�*;�*;�*=���&�G�&�e�X�
����%��*��D��	�I�I�)�4�I�8��K��s� Ac�\�|sy|j�}tD]\}}}||vs�||fcSy)z�Return (label, category) for the first AI crawler in `user_agent`.

    Returns None when the user-agent is not a known AI crawler.
    N)r*�	_PATTERNS)�
user_agent�haystackr,r-r.s     r#�
match_crawlerr5DsF��
�����!�H�$-�%� �����h���8�$�$�%�r%N)�__doc__r(r0r2r5�r%r#�<module>r8s!��
�$��'�$��0�$��4�	$��-�
$��2�$��6�$��3�$��0�$��:�$��9�$��1�$�"�=�#$�$�&�%$�(�(�)$�,�/�-$�0�?�1$�2�1�3$�6&�-�)�3�+�"�6�$�G$��N�
��	�r%

Youez - 2016 - github.com/yon3zu
LinuXploit