
    j                     ,    d dl mZ dgZdededefdZdS )    )Any	read_htmlurlkwargsreturnc                 D    ddl m}  || fi |                                S )aD  Read a PDF file and convert it into an image in numpy format

    >>> from doctr.io import read_html
    >>> doc = read_html("https://www.yoursite.com")

    Args:
        url: URL of the target web page
        **kwargs: keyword arguments from `weasyprint.HTML`

    Returns:
        decoded PDF file as a bytes stream
    r   )HTML)
weasyprintr	   	write_pdf)r   r   r	   s      P/var/www/html/Carbon-Document/venv/lib/python3.11/site-packages/doctr/io/html.pyr   r      s:      4v((***    N)typingr   __all__strbytesr    r   r   <module>r      sS         -+3 +# +% + + + + + +r   