/usr/lib/python3.9/site-packages/html2text/__pycache__
NameSizeModeActions
cli.cpython-39.opt-1.pyc62670644editdlrm
cli.cpython-39.pyc62670644editdlrm
config.cpython-39.opt-1.pyc24060644editdlrm
config.cpython-39.pyc24060644editdlrm
elements.cpython-39.opt-1.pyc9420644editdlrm
elements.cpython-39.pyc9420644editdlrm
typing.cpython-39.opt-1.pyc4480644editdlrm
typing.cpython-39.pyc4480644editdlrm
utils.cpython-39.opt-1.pyc76710644editdlrm
utils.cpython-39.pyc77270644editdlrm
__init__.cpython-39.opt-1.pyc172300644editdlrm
__init__.cpython-39.pyc173500644editdlrm
__main__.cpython-39.opt-1.pyc1850644editdlrm
__main__.cpython-39.pyc1850644editdlrm
Edit: /usr/lib/python3.9/site-packages/html2text/__pycache__/cli.cpython-39.pyc (6267B)
a Yý¡] $ã@s6ddlZddlZddlmZmZmZddœdd„ZdS)éNé)Ú HTML2TextÚ __version__Úconfig)Úreturnc CsÔd}Gdd„dƒ}t ¡}|jddtjdd�|jdd d tjd d �|jd ddtjdd �|jddd tjdd �|jddd tjdd �|jdddtj dd �|jddd tj dd �|jddd tj dd �|jd d!d tj d"d �|jd#d$d tj d%d �|jd&d'd tjd(d �|jd)d*d tjd+d �|jd,d-d d.d/d0d1�|jd2d3d d4d/d5d1�|jd6d7d d8d/d9d1�|jd:d;d�|jd?d@dAttjdBd>�|jdCdDd dEd/dFd1�|jdGd dHd/dId1�|jdJd dKtjdLd1�|jdMd dNtjdOd1�|jdPd dQtjdRd1�|jdSd dTtjdUd1�|jdVddWtjdXd1�|jdYddZtjd[d1�|jd\d d]tjd^d1�|jd_d d`tjdad1�|jdbdctjddd�|jdedftjdgd�|jdhditjdjd�|jdkdldm tt t!ƒ¡dn�|jdodpdq�|jdrdpdsdt�| "¡}|j#�r6|j#duk�r6t$|j#dvƒ�}| %¡}Wdƒn1�s*0Yn t&j'j( %¡}z| )|j*|j+¡}Wnbt,�y¸}zH|j-dw|j.}|dx|j/7}|dy|j.dz7}t0|ƒ|‚WYd}~n d}~00t1|d{�} |j2�rÒdu| _3|j4�ræd|| _5d}| _6|j7| _7|j8| _9|j:| _:|j;| _;|j<| _<|j=| _=|j>| _>|j?| _?|j@| _@|jA| _A|jB| _B|jC| _C|jD| _D|jE| _E|jF| _F|jG| _G|jH| _H|jI| _I|jJ| _J|jK| _K|jL| _L|jM| _M|jN| _N|jO| _O|jP| _P|jQ| _Q|jR| _Rt&jS T|  U|¡¡dS)~NÚc@s,eZdZdZdZdZdZdZdZdZ dZ d S) zmain..bcolorszzzzzzzzN) Ú__name__Ú __module__Ú __qualname__ZHEADERZOKBLUEÚOKGREENÚWARNINGZFAILÚENDCZBOLDZ UNDERLINE©rrú1/usr/lib/python3.9/site-packages/html2text/cli.pyÚbcolors srz--default-image-altÚdefault_image_altz3The default alt string for images with missing ones)ÚdestÚdefaultÚhelpz --pad-tablesÚ pad_tablesÚ store_truez-pad the cells to equal column width in tables)rÚactionrrz--no-wrap-linksÚ wrap_linksÚ store_falsez"don't wrap links during conversionz--wrap-list-itemsÚwrap_list_itemsz!wrap list items during conversionz--ignore-emphasisÚignore_emphasisz)don't include any formatting for emphasisz--reference-linksÚ inline_linksz1use reference style links instead of inline linksz--ignore-linksÚ ignore_linksz&don't include any formatting for linksz--protect-linksÚ protect_linkszCprotect links from line breaks surrounding them with angle bracketsz--ignore-imagesÚ ignore_imagesz'don't include any formatting for imagesz--images-as-htmlÚimages_as_htmlzWAlways write image tags as raw html; preserves `height`, `width` and `alt` if possible.z--images-to-altÚ images_to_altz&Discard image data, only keep alt textz--images-with-sizeÚimages_with_sizezMWrite image tags with height and width attrs as raw html to retain dimensionsz-gz --google-docÚ google_docFz(convert an html-exported Google Document)rrrrz-dz--dash-unordered-listÚ ul_style_dashz6use a dash rather than a star for unordered list itemsz-ez--asterisk-emphasisÚem_style_asteriskz=use an asterisk rather than an underscore for emphasized textz-bz --body-widthÚ body_widthz3number of characters per output line, 0 for no wrap)rÚtyperrz-iz--google-list-indentÚ list_indentz,number of pixels Google indents nested listsz-sz--hide-strikethroughÚhide_strikethroughzDhide strike-through text. only relevant when -g is specified as wellz --escape-allÚ escape_snobzbEscape all special characters. Output is less readable, but avoids corner case formatting issues.z--bypass-tablesÚ bypass_tablesz2Format tables in HTML rather than Markdown syntax.z--ignore-tablesÚ ignore_tableszAIgnore table-related tags (table, th, td, tr) while keeping rows.z--single-line-breakÚsingle_line_breakzhUse a single line break after a block element rather than two line breaks. NOTE: Requires --body-width=0z--unicode-snobÚ unicode_snobzUse unicode throughout documentz--no-automatic-linksÚuse_automatic_linksz.Do not use automatic links wherever applicablez--no-skip-internal-linksÚskip_internal_linkszDo not skip internal linksz--links-after-paraÚlinks_each_paragraphz2Put links after each paragraph instead of documentz --mark-codeÚ mark_codez.Mark program code blocks with [code]...[/code]z--decode-errorsÚ decode_errorszZWhat to do in case of decode errors.'ignore', 'strict' and 'replace' are acceptable valuesz --open-quoteÚ open_quotez!The character used to open quotesz --close-quoteÚ close_quotez"The character used to close quotesz --versionÚversionÚ.)rr6Úfilenameú?)ÚnargsÚencodingzutf-8)r:rú-ÚrbzWarning:z Use the z--decode-errors=ignorez flag.)ÚbaseurlÚ*Ú__)VÚargparseÚArgumentParserÚ add_argumentrZDEFAULT_IMAGE_ALTZ PAD_TABLESZ WRAP_LINKSZWRAP_LIST_ITEMSZIGNORE_EMPHASISZ INLINE_LINKSZIGNORE_ANCHORSZ PROTECT_LINKSZ IGNORE_IMAGESZIMAGES_AS_HTMLZ IMAGES_TO_ALTZIMAGES_WITH_SIZEÚintZ BODY_WIDTHZGOOGLE_LIST_INDENTZ BYPASS_TABLESZ IGNORE_TABLESZSINGLE_LINE_BREAKZ UNICODE_SNOBZUSE_AUTOMATIC_LINKSZSKIP_INTERNAL_LINKSZLINKS_EACH_PARAGRAPHZ MARK_CODEZ DECODE_ERRORSZ OPEN_QUOTEZ CLOSE_QUOTEÚjoinÚmapÚstrrÚ parse_argsr8ÚopenÚreadÚsysÚstdinÚbufferÚdecoder;r3ÚUnicodeDecodeErrorr r r Úprintrr$Z ul_item_markr%Z emphasis_markZ strong_markr&r(Zgoogle_list_indentrrrrr r!r"r#r)r*r+r,r-rr.r/r0r1r2rrrrr4r5ÚstdoutÚwriteZhandle) r>rÚpÚargsÚfpÚdataZhtmlÚerrZwarningÚhrrrÚmains üûûûûûûûûú ûú úúúúúúú ûûú ûûûûûû üüÿ*  rY)rArKrrrrrYrrrrÚs