
    Ng                     F    d dl mZ d dlmZ d dlmZ  G d de          ZdS )    )List)Document)WebBaseLoaderc                   *    e Zd ZdZdee         fdZdS )CollegeConfidentialLoaderz%Load `College Confidential` webpages.returnc                     |                                  }|                    d          j        }d| j        i}t	          ||          gS )zLoad webpages as Documents.zmain[class='skin-handler']source)page_contentmetadata)scrape
select_onetextweb_pathr   )selfsoupr   r   s       u/var/www/html/ai-engine/env/lib/python3.11/site-packages/langchain_community/document_loaders/college_confidential.pyloadzCollegeConfidentialLoader.load   sF    {{}};<<Adm,dX>>>??    N)__name__
__module____qualname____doc__r   r   r    r   r   r   r      s@        //@d8n @ @ @ @ @ @r   r   N)typingr   langchain_core.documentsr   -langchain_community.document_loaders.web_baser   r   r   r   r   <module>r      sy          - - - - - - G G G G G G@ @ @ @ @ @ @ @ @ @r   