All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kr.motd.maven.sphinx.dist.lxml.html.clean$py.class Maven / Gradle / Ivy

There is a newer version: 2.10.0
Show newest version
????1?f$0R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;__doc__cA cleanup tool for HTML.

Removes unwanted tags and content.  See the `Cleaner` class for
details.
org/python/core/PyStringfromInterned.(Ljava/lang/String;)Lorg/python/core/PyString;	

org/python/core/PyFrame
	setglobal/(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline(I)V
reorg/python/core/imp	importOneH(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject;
setlocal
 copy"urlparse$java/lang/String&urlsplit(
importFrom\(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;*+
,org/python/core/Py.setExceptionM(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException;01
/2ImportError4getname.(Ljava/lang/String;)Lorg/python/core/PyObject;67
8org/python/core/PyException:match(Lorg/python/core/PyObject;)Z<=
;>urllib.parse@java/lang/ThrowableBlxmlDetreeF	lxml.htmlHdefsJ
fromstringLXHTML_NAMESPACEN
xhtml_to_htmlP_transform_resultRunichrT	NameErrorVchrXunicodeZstr\bytes^
basestring`org/python/core/PyTupleborg/python/core/PyObjectd([Lorg/python/core/PyObject;)Vfg
chorg/python/core/PyListj
clean_htmllcleannCleanerpautolinkr
autolink_htmlt
word_breakvword_break_htmlx
kh__all__{compile}__getattr__7
e?expression\s*\(.*?\)?S?I?_or6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject;??
e?__call__m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;??
e?_css_javascript_re?
@\s*import?_css_import_re?^data:image/.+;base64?search?_is_image_dataurl?<(?:javascript|jscript|livescript|vbscript|data|about|mocha):?_is_possibly_malicious_scheme?EmptyObjectsorg/python/core/PyObject;??	/?org/python/core/PyFunction?	f_globalsLorg/python/core/PyObject;??	?_is_javascript_scheme$1	getglobal?7
?getlocal(I)Lorg/python/core/PyObject;??
?S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject;??
e?__nonzero__()Z??
e?None?f_lasti??	?lxml/html/clean$py?Lorg/python/core/PyCode;??	??j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)Vf?
??_is_javascript_scheme?[\s\x00-\x08\x0B\x0C\x0E-\x19]+?sub?_substitute_whitespace?\[if[\s\n\r]+.*?][\s\n\r]*>?_conditional_comment_re?XPath?descendant-or-self::*[@style]?_find_styled_elements??descendant-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) != '#']?org/python/core/PyDictionary?x?
?h
namespaces?g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject;??
e?_find_external_links?object?	Cleaner$2
__module__?__name__?
    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 ``