
    h                     >    d dl mZ d dlmZ d dlmZ  G d de      Zy)    )List)Document)WebBaseLoaderc                   "    e Zd ZdZdee   fdZy)CollegeConfidentialLoaderz%Load `College Confidential` webpages.returnc                     | j                         }|j                  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       w/var/www/html/eduruby.in/venv/lib/python3.12/site-packages/langchain_community/document_loaders/college_confidential.pyloadzCollegeConfidentialLoader.load   s@    {{};<AAdmm,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      s     - G@ @r   