/usr/lib64/python2.6/site-packages/lxml/html
NameSizeModeActions
builder.py43100644editdlrm
builder.pyc39180644editdlrm
builder.pyo39180644editdlrm
clean.py250170644editdlrm
clean.pyc189000644editdlrm
clean.pyo187990644editdlrm
defs.py38000644editdlrm
defs.pyc35780644editdlrm
defs.pyo35780644editdlrm
diff.py303750644editdlrm
diff.pyc286960644editdlrm
diff.pyo283460644editdlrm
ElementSoup.py3190644editdlrm
ElementSoup.pyc6220644editdlrm
ElementSoup.pyo6220644editdlrm
formfill.py97610644editdlrm
formfill.pyc100150644editdlrm
formfill.pyo97610644editdlrm
html5parser.py53040644editdlrm
html5parser.pyc58700644editdlrm
html5parser.pyo58700644editdlrm
soupparser.py42750644editdlrm
soupparser.pyc48310644editdlrm
soupparser.pyo48310644editdlrm
usedoctest.py2490644editdlrm
usedoctest.pyc4640644editdlrm
usedoctest.pyo4640644editdlrm
_dictmixin.py35390644editdlrm
_dictmixin.pyc46880644editdlrm
_dictmixin.pyo46880644editdlrm
_diffcommand.py20820644editdlrm
_diffcommand.pyc28560644editdlrm
_diffcommand.pyo28560644editdlrm
_html5builder.py31240644editdlrm
_html5builder.pyc44980644editdlrm
_html5builder.pyo44980644editdlrm
_setmixin.py24880644editdlrm
_setmixin.pyc51940644editdlrm
_setmixin.pyo51940644editdlrm
__init__.py521370644editdlrm
__init__.pyc563640644editdlrm
__init__.pyo561100644editdlrm
Edit: /usr/lib64/python2.6/site-packages/lxml/html/clean.pyo (18799B)
Jc @sdZddkZddkZyddklZWn#ej oddklZnXddklZddk l Z ddk l Z l Z l Z ddk lZlZyeWn#ej oddklZnXyed ZWneefj o eZnXyed ZWneefj o eZnXyed ZWneefj o eZnXyed ZWn%eefj oeefZnXd ddddddgZeideieiBZ eideiZ!eideiZ"eidi#Z$eideieiBZ%ei&dZ'ei&ddhe d6Z(de)fdYZ*e*Z+e+i,Z,eideieideigZ-d d!d"d#d$d%gZ.eid&eieid'eieid(gZ/d)gZ0e-e.e/e0d*Z1d+Z2d,Z3e1ie3_d!d d"gZ4d-gZ5d.e4e5ed/d0Z6d1Z7d2Z8eid3eiZ9d4Z:dS(5scA cleanup tool for HTML. Removes unwanted tags and content. See the `Cleaner` class for details. iN(turlsplit(tetree(tdefs(t fromstringttostringtXHTML_NAMESPACE(t_nonst_transform_result(tSettunichrtunicodetbytest basestringt clean_htmltcleantCleanertautolinkt autolink_htmlt word_breaktword_break_htmlsexpression\s*\(.*?\)s @\s*imports:\s*(?:javascript|jscript|livescript|vbscript|about|mocha):s\s+s\[if[\s\n\r]+.*?][\s\n\r]*>sdescendant-or-self::*[@style]sdescendant-or-self::a [normalize-space(@href) and substring(normalize-space(@href),1,1) != '#'] |descendant-or-self::x:a[normalize-space(@href) and substring(normalize-space(@href),1,1) != '#']t namespacestxcBs:eZdZeZeZeZeZeZ eZ eZ eZ eZ eZeZeZdZdZeZeZeZdZeddgZdZedddddd d gddddd dd dZd ZdZdZdZ dZ!ddZ"dZ#e$i%de$i&i'Z(dZ)dZ*RS(s Instances cleans the document of each of the possible offending elements. The cleaning is controlled by attributes; you can override attributes in a subclass, or set them in the constructor. ``scripts``: Removes any ``