a
    bg3                     @   s8   d dl mZ d dlmZ d dlmZ G dd deZdS )    )List)Document)WebBaseLoaderc                   @   s"   e Zd ZdZee dddZdS )AZLyricsLoaderzLoad `AZLyrics` webpages.)returnc                 C   sF   |   }|jj}|dddid j}|| }d| ji}t||dgS )zLoad webpages into Documents.divclass    source)Zpage_contentmetadata)ZscrapetitletextZfind_allZweb_pathr   )selfZsoupr   Zlyricsr   r    r   {/var/www/html/cobodadashboardai.evdpl.com/venv/lib/python3.9/site-packages/langchain_community/document_loaders/azlyrics.pyload   s    
zAZLyricsLoader.loadN)__name__
__module____qualname____doc__r   r   r   r   r   r   r   r      s   r   N)typingr   Zlangchain_core.documentsr   Z-langchain_community.document_loaders.web_baser   r   r   r   r   r   <module>   s   