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

kr.motd.maven.sphinx.dist.bs4.__init__$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__HBeautiful Soup
Elixir and Tonic
"The Screen-Scraper's Friend"
http://www.crummy.com/software/BeautifulSoup/

Beautiful Soup uses a pluggable XML or HTML parser to parse a
(possibly invalid) document into a tree representation. Beautiful Soup
provides methods and Pythonic idioms that make it easy to navigate,
search, and modify the parse tree.

Beautiful Soup works with Python 2.7 and up. It works better if lxml
and/or html5lib is installed.

For more than you ever wanted to know about Beautiful Soup, see the
documentation:
http://www.crummy.com/software/BeautifulSoup/bs4/doc/

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
*Leonard Richardson ([email protected])
__author__setlocal
4.6.0__version__ *Copyright (c) 2004-2017 Leonard Richardson"
__copyright__$MIT&__license__(org/python/core/PyList*org/python/core/PyObject,
BeautifulSoup.([Lorg/python/core/PyObject;)V01
+2__all__4os6org/python/core/imp8	importOneH(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject;:;
9<re>	traceback@warningsBbuilderDjava/lang/StringFbuilder_registryHParserRejectedMarkupJ
importFrom\(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject;LM
9NdammitP
UnicodeDammitRelementTCDataVCommentXDEFAULT_OUTPUT_ENCODINGZDeclaration\Doctype^NavigableString`PageElementbProcessingInstructiond	ResultSetfSoupStrainerhTagj`You are trying to run the Python 2 version of Beautiful Soup under Python 3. This will not work.luYou need to convert the code, either by installing it (`python setup.py install`) or by running 2to3 (`2to3 -w bs4`).n_ne6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject;pq
-rgetname.(Ljava/lang/String;)Lorg/python/core/PyObject;tu
vBeautifulSoup$1
__module__y__name__{
    This class defines the basic interface called by the tree builders.

    These methods will be called by the parser:
      reset()
      feed(markup)

    The tree builder may call these methods from its feed() implementation:
      handle_starttag(name, attrs) # See note about return value
      handle_endtag(name)
      handle_data(data) # Appends to the current data node
      endData(containerClass=NavigableString) # Ends the current data node

    No matter how complicated the underlying parser is, you should be
    able to build a tree using 'start tag' events, 'end tag' events,
    'data' events, and "done with data" events.

    If you encounter an empty-element tag (aka a self-closing tag,
    like HTML's 
tag), call handle_starttag and then handle_endtag. } [document]org/python/core/PyUnicode?/(Ljava/lang/String;)Lorg/python/core/PyUnicode; ? ?? ROOT_TAG_NAME?html?fast?DEFAULT_BUILDER_FEATURES? ? ASCII_SPACES? No parser was explicitly specified, so I'm using the best available %(markup_type)s parser for this system ("%(parser)s"). This usually isn't a problem, but if you run this code on another system, or in a different virtual environment, it may use a different parser and behave differently. The code that caused this warning is on line %(line_number)s of the file %(filename)s. To get rid of this warning, change code that looks like this: BeautifulSoup(YOUR_MARKUP}) to this: BeautifulSoup(YOUR_MARKUP, "%(parser)s") ?NO_PARSER_SPECIFIED_WARNING??None?org/python/core/PyFunction? f_globalsLorg/python/core/PyObject; ?? ? __init__$2to_cell(II)V ?? ??The Soup object is initialized as the 'root tag', and the provided markup (which can be a string or a file-like object) is fed into the underlying parser.?convertEntities?getderef(I)Lorg/python/core/PyObject; ?? ?_in ?q -? __nonzero__()Z ?? -? getglobal ?u ?warn? __getattr__ ?u -??BS4 does not respect the convertEntities argument to the BeautifulSoup constructor. Entities are always converted to Unicode characters.?__call__S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ?? -? markupMassage? __delitem__(Lorg/python/core/PyObject;)V ?? -??BS4 does not respect the markupMassage argument to the BeautifulSoup constructor. The tree builder is responsible for any necessary markup massage.? smartQuotesTo??BS4 does not respect the smartQuotesTo argument to the BeautifulSoup constructor. Smart quotes are always converted to Unicode characters.?selfClosingTags??BS4 does not respect the selfClosingTags argument to the BeautifulSoup constructor. The tree builder is responsible for understanding self-closing tags.?isHTML??BS4 does not respect the isHTML argument to the BeautifulSoup constructor. Suggest you use features='lxml' for HTML and features='lxml-xml' for XML.?org/python/core/Py? EmptyObjectsorg/python/core/PyObject; ?? ??deprecated_argument$3getlocal ?? ?LThe "%s" argument to the BeautifulSoup constructor has been renamed to "%s."?org/python/core/PyTuple? ?2_mod ?q -? __getitem__ ?q -?(ILorg/python/core/PyObject;)V ? ?f_lastiI ?? ?bs4$py?Lorg/python/core/PyCode; ?? ?? getclosure ?? ??(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;[Lorg/python/core/PyObject;)V 0? ??parseOnlyThese? parse_only?m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? - fromEncoding from_encoding isinstanceunicode lYou provided Unicode markup but also provided a value for from_encoding. Your from_encoding will be ignored. len newInteger(I)Lorg/python/core/PyInteger;  ?_gt q -keys9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; ? -pop TypeError2__init__() got an unexpected keyword argument '%s'  makeException9(Lorg/python/core/PyObject;)Lorg/python/core/PyException; "# ?$_is &q -' basestring)_eq +q -,lookup. _callextra~([Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; 01 -2FeatureNotFound4jCouldn't find a tree builder with the features you requested: %s. Do you need to install a parser library?6,8join:NAME<ALTERNATE_NAMES>__not__()Lorg/python/core/PyObject; @A -Bis_xmlDXMLFHTMLH extract_stackJdictLfilenameN line_numberPparserR markup_typeTg(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject; ?V -W __setattr__ Y -Z known_xml\soup^hasattr`readb_le dq -ebytesg<ipathksupports_unicode_filenamesmencodeoutf8qFalsesexistsu setExceptionM(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException; wx ?y Exception{org/python/core/PyException}match(Lorg/python/core/PyObject;)Z ? ~?value ?? ~?java/lang/Throwable?w"%s" looks like a filename, not markup. You should probably open this file and pass the filehandle into Beautiful Soup.?_check_markup_is_url?prepare_markup?exclude_encodings?__iter__ ?A -?unpackSequence8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject; ?? ??markup?original_encoding?declared_html_encoding?contains_replacement_characters?reset?_feed? __iternext__ ?A -? ?? ?? ?? ??j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V 0? ??__init__? __copy__$4type?utf-8? ?? ??__copy__?__getstate__$5__dict__? picklable? __setitem__7(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)V ?? -? ?? ?? __getstate__?_check_markup_is_url$6? Check if markup looks like it's actually a url and raise a warning if so. Markup can be unicode or str (py2) / bytes (py3). ? ?http:?https:?any?f$7 startswith?java/lang/Object? f_savedlocals[Ljava/lang/Object; ?? ?getGeneratorInput()Ljava/lang/Object; ?? ? ?? ??java/util/Arrays?fill(([Ljava/lang/Object;Ljava/lang/Object;)V ?? ??decode?replace??"%s" looks like a URL. Beautiful Soup is not an HTTP client. You should probably use an HTTP client like requests to get the document behind the URL, and feed that document to Beautiful Soup.? ?? ?? staticmethod?_feed$8feed?endData?popTag? currentTag?name? ?? ??reset$9?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ?? -?hidden current_datatagStackpreserve_whitespace_tag_stackpushTag ?? ?  new_tag$10+Create a new tag associated with this soup. T(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? -  ? ?new_tag new_string$117Create a new NavigableString associated with this soup. ? ? new_stringinsert_before$12NotImplementedError4BeautifulSoup objects don't support insert_before(). ? ?" insert_before$insert_after$133BeautifulSoup objects don't support insert_after().' &? ?) insert_after+ popTag$14 -? ?. pushTag$15contents1append3preserve_whitespace_tags5 0? ?7 endData$16True:_notin <q -= ?textAsearchCobject_was_parsedE 9? ?Gobject_was_parsed$17 Add an object to the parse tree.J_most_recent_elementL next_elementN next_siblingPprevious_siblingRprevious_elementTsetupV_sub Xq -Y_isub [q -\_ge ^q -_ ValueErrora[Error building tree: supposedly %r was inserted into %r after the fact, but I don't see it!c_add eq -f I? ?h _popToTag$18?Pops the tag stack up to and including the most recent instance of the given tag. If inclusivePop is false, pops the tag stack up to but *not* including the most recent instqance of the given tag.krangem?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ?o -pprefixr j? ?t _popToTagvhandle_starttag$19Push a start tag on to the stack. If this method returns None, the tag was rejected by the SoupStrainer. You should proceed as if the tag had not occurred in the document. For instance, if this was a self-closing tag, don't call handle_endtag. y search_tag{ x? ?}handle_starttaghandle_endtag$20 ?? ?? handle_endtag?handle_data$21 ?? ?? handle_data?minimal? decode$22lReturns a string or Unicode representation of this document. To get Unicode, pass None for encoding.? encoding="%s"? ?super? ?? ?? getf_locals ?A ? x? ?? makeClassa(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject; ?? ??_s?_soup?BeautifulStoneSoup?BeautifulStoneSoup$23&Deprecated interface to an XML parser.? __init__$24xml?features?xThe BeautifulStoneSoup class is deprecated. Instead of using it, pass features="xml" into the BeautifulSoup constructor.? ?? ?? ?? ?? StopParsing?StopParsing$25 ?? ??FeatureNotFound$26 ?? ??__main__?sys?stdin?prettify?println ?? ??(Ljava/lang/String;)Vorg/python/core/PyFunctionTable?()V 0? ??selfLbs4$py; ?? ???newCode?(I[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZLorg/python/core/PyFunctionTable;I[Ljava/lang/String;[Ljava/lang/String;II)Lorg/python/core/PyCode; ?? ?? ? ???kwargs?deprecated_argument?arg?original_features? builder_class?caller?possible_filename?is_file?e?old_name?new_name??copy?d?space?cant_start_with? _(272_15)?decoded_markup?_(x)?  namespacensprefixattrsssubclass  successor tagcontainerClass strippableioparentmost_recent_elementindex inclusivePopmost_recently_popped  stack_size"t$data& pretty_print(eventual_encoding* formatter, encoding_part. indent_level0args2getMain()Lorg/python/core/PyCode;main([Ljava/lang/String;)V? 0? ?9 45 ?;org/python/core/CodeLoader=createSimpleBootstrap9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap; ?@ >ArunMain5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V CD ?EgetCodeBootstrap!()Lorg/python/core/CodeBootstrap;#org/python/core/PyRunnableBootstrapI)getFilenameConstructorReflectionBootstrap2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap; KL JM call_functionS(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;  ?Q x ?S ? ?U ? ?W ? ?Y ? ?[ ? ?] ? ?_ ? ?a ? ?c   ?e  ?g  ?i & ?k - ?m 0 ?o 9 ?q I ?s j ?u x ?w ? ?y ? ?{ ? ?} ? ? ? ?? ? ?? ? ??org/python/core/PyRunnable? Lorg/python/compiler/APIVersion;%Lorg/python/compiler/MTime;`9 [0Lorg/python/compiler/Filename;V/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/bs4/__init__.pyorg/python/core/ThreadState?[Ljava/lang/String;???CodeLineNumberTableStackMap SourceFileRuntimeVisibleAnnotations!??????x????????????????? ???&?-?0?9?I?j?x??????????????? ???+? ?+?? W+?? N+-?N+?? N+!-?N+?#? N+%-?N+?'? N+)-?N+??+Y?-Y/? S?3N+5-?N+?7+?=N+7-?N+??+?=N+?-?N+ ?A+?=N+A-?N+!?C+?=N+C-?N+#?E?GN-IS-KS-+?ON-2:+I?:-2:+K?:+$?Q?GN-SS-+?ON-2:+S?:+%?U ?GN-WS-YS-[S-]S-_S-aS-cS-eS-gS- iS- kS-+?ON-2:+W?:-2:+Y?:-2:+[?:-2:+]?:-2:+_?:-2:+a?:-2:+c?:-2:+e?:-2:+g?:- 2:+i?:- 2:+k?:+5?m? No? -_?sNW+7??-N+k?w-__S/-????:+/?:-??+??+/?wN+?-?N+??+/?wN+?-?N+???-N+/?w-__S?-????:+??:-??+??-N+|?w-__S?-????:+??:-??+ ??-N+b?w-__S5-????:+5?:-??+?+|?wN?? -_?-N???d+??+?=N+?-?N+?+/?w,+??w¶???N+_-?N+?+_?wĶ?,??ǧ+?????b !#$%57??? ????x??i+z+|?w?+~? ?+L?~? W+M????N+?-?N+Q??+Y?-Y?? SY?? S?3N+?-?N+S??? N+?-?N+U??? N+?-?N+W??-N?? -__S+??w-__S+??w-__S+??w-__S+??w-__S+??w-__S??Y+??-???? ??N+?-?N+???N??Y+??-????N+?-?N+????N??Y+??-????N+?-?N+???N??Y+??-??Ǹ ??N+?w,-??N-N+?-?N+???N??Y+??-????N+?-?N+'???N??Y+??-? ??N+?-?N+1??-N+??w-__S+??w-__S??Y+??-?? ??N+-?N+5??-N+a?w-__S??Y+??-?? ??N+-?N+9???N??Y+??-?#??N+%-?N+??-? P??--??? ?+??+??N+??-_??N????+??+C?????,? ??Y?-Y+??SY+??S????W+??+??+?߶?N+-??N+??+??+?߶?+??+??N+??-?+??+???N+??-????????????????+?+???,+?߶?,?-N+??p??,?? ??-__S+??E??-__S?? -__S?G:ESS-?XNN+-??N+??+?????N+???-?[N+??+??N+??-?????????+??+M??,+???????N+-??N+??E? N+??-_??NY???W+??E??????C???$+??+???N+??E? -??N?+??+??N+??-???????%Z??-?????? +??+?Ǹ W+?+ ??,+??+h??????I+?ɸ N+-??N+ ???Y?-Y˸ SY͸ S??N+-??N?}+ ?+ ??,+??+ ??????I+ ?ɸ?N+-??N+ ???Y?-Y˸?SY͸?S??N+-??N?+?+????+?+϶?,+???Y+????N-???-:+??S??:+??_??,_??-???????+?+??N+??-_??N?C????+?+ ??,+??+h??????1+?+????,?? ? ?N+-??N?+?+??N+-??N+?+C?????,? +?߶??W??+?????>    ?~~?????????????????????????W???+?+?߶?N?s+??+?+?+??Ҷ?,+?߶?+????:-SS+?ذ+??:2?-N2?-:+??Y?~?????-W+?-??:???+????+?????^???^??????q????--\?????--?????-???????+?+??E?????,?W+!?+??E????,+???????W+#?+????,?W?+%?+?????,?W+$?+????????N+?????-_?sN?????+?????!#%$?!]??t????A +(?+k?????,+??+??+??E??+???????W+)??N+??-?[N+*?+??E?????,?W++??+Y?۷3N+??-?[N+,?+???N+???-?[N+-??+Y?۷3N+??-?[N+.??+Y?۷3N+??-?[N+/?+?? ??,+?߶?W+?????"()*+,-./ ??p+2?? W+3?+k??,?-N+???-__S+??E??-__S+??-__S+??-__S+??-__S+??-__S-?N+??-?? 23?G++6?? W+7?+??,+?߶?N+??-?? 67?4+:?+??,!? ???%??:&?4+=?+??,(? ???%??=-?H?+@?+??????,?N+-??N+A?+????Y???#W+??N+???????-_?-N???#+B?+??????,?W?+D?+???????.+E?+???????N+???-?[N?+F?+?????N+??-??@ABDEF?5^??-??????0?>?+J?+????????.+K?+?????2??4??,+?߶?W?+L?+????4??,+?߶?W+M?+???????N+???-?[N+N?+?????N+??E??6??-_??N???(+O?+????4??,+?߶?W?+?????JKLMNO?!C?????9?kG+R?+???????)+S????;??,+??????N+-??N+W?+?????C????+X?+;??N+-??N+Y?+?߶?N?Q+??+Z?+??:+?????_?>:???#+[?+t??:+??:??+Y?-??:???+]?+?߶??U+^?@? N+??-_??N???+_?@? N+-??N?+a?ɸ N+-??N??+d??+Y?۷3N+??-?[N+g?+????Y???gW+??,+??????N?-_?fNY???=W+????B???CY???!W+????D??,+?߶??C???+j?+????+l?+??,+?߶?N+-??N+m?+??F??,+?߶?W?+?????FRSWXYZ[Y]^_adgjlm?? ???--?????-???--2??-H??-K??--N??-???-??>??I?? +p?K? W+q?+??Y???W+?????N+-??N+r?+??Y???W+??M??N+-??N+t?+???N+-??+-??+-??+u?+ ??,+??+k???????+v?+??O??N+-??N+w?+??Q??N+-??N+x?+??S??N+-??N+y?+?߶C???!+z?+??U??N+-??N??+|?+??W??,?-N+??-__S+??-__S+??-__S+??-__S+??-__S-?W+~?+??N+??M-?[N+?+??2??4??,+?߶?W+??+??Q?????0+??+??,+??2??????ZN+-??N?V+??+??2??+?߶?N+??-_?(N??? ?~?+??+??N?-_?]N+-??+??+??N?-_?`N?????+??+b??,d? ??Y?-Y+??SY+??S?????%?+??+??N?-_?-N???2+??+??N+-??N+??+???N+-??N?3+??+??2??+????Z??N+-??+-??+??+??N+??,+??2??????Z-_?-N???8+??+??Q??N+-??N+??+???N+-??N?3+??+??2??+????g??N+-??+-??+??+??N+??U-?[N+??+?߶??!+??+??N+??O-?[N?+??+??N+??O-?[N+??+?߶??!+??+??N+??U-?[N?+??+??N+??Q-?[N+??+?߶??"+??+??N+??S-?[N?+??+??N+??S-?[N+??+?߶??"+??+??N+??Q-?[N??+??????'pqrtuvwxyz|~???????????????????????????(-??-U??-)??,??-??4?7??V??-??????-??-??????-??`???????????j???+??l? W+??+??N+?????-_?-N???+??+????+??+???N+-??N+??+??,+??????N+-??N+??+n??,+????Z???q??N??+??+??+????+?߶?:+??:+??+??:+?????_?-:Y??? W+??:+??s??_?-:???@+??+?߶??(+??+?????,?:+??:??:?+??+?????,?:+??:+??-??:??+??+??N+??-??6 ???????????????B?????--"??---_??--b?e??--???-???--x??+ƶz? W+ɶ+????,?W+˶+????Y???iW+??,+??????N?-_?fNY????W+????B??Y???&W+????|??,+??+?߶?C???+ζ+???N+??-?+ж+k??,?-:+??__S+??E??__S+??__S+??__S+??__S+??__S+?????__S+??M??__S?:+??:+Ҷ+??:+???_?(:???+Ӷ+??N+??-?+Զ+??M?????*+ն+??:+??M??O?[:?+ֶ+??:+??M?[:+׶+?? ??,+?߶?W+ض+??N+??-??2 ?????????????E???-???????????]A+ܶ+????,?W+ݶ+??w??,+??+?߶W+????? ????C++?+????4??,+?߶?W+?????????=+??? W+?+??E?????z+??? N+-??N+?+??N+???-_?sN???$+??? +?߶?N+-??N?+?????+?߶?N+-??N?+????N+-??N+?+?߶C???+?+???N+-??N?+??N+-??N+??+??+???,+/??+?߶??,+??+??+?߶q?gN+??-??. ????????????Q|????????????????mQ+z+|?w?+?? ?+???? W+????N??Y+??-????N+?-?N+???? ??????+???? N+???? -??N+?+C?????,?? ??W+?+???,+???+?߶?????N?G:+??+??-^X?3NW+????????0+z+|?w?+?+??????0+z+|?w?+ ?+???? 0?? ?*??*???GM,+????׳??GM,+/7???׳??GM,?S,?S,?S,ES,S,S,?S,?S,?S, ?S, ?S, ?S, US, ?S,OS,QS,?S,?S,?S,+?W???GM,?S,?׳??GM,?S,?S,?S,+?????GM,?S,?׳??GM,?S,?S,+?????׳??GM,?S,?S,+?????׳??GM,?S,?S,?S,?S,?S,+????GM,?S,?׳??GM,?S,sS,+???GM,?S,!?׳??GM,?S,+????׳??GM,?S,+?'?? ?׳ ?GM,?S,?S,S,S,S,+1?? ?׳?GM,?S, S, S,+5?? ?׳?GM,?S, S,+%9?? ?׳#?GM,?S, S,+,<?? ?׳*?GM,?S,S,+?????׳/?GM,?S,S,+ H???׳8?GM,?S,S,S,S,S,S,+?Q???׳H ?GM,?S,S,S,S,US,OS,SS,QS,S,+Fo???׳i?GM,?S,?S,S,S,!S,#S,S,%S,+w????׳u?GM,?S,?S,S,S,S,S,+?????׳~?GM,?S,?S,S,+?????׳??GM,?S,'S,+?????׳??GM,?S,)S,+S,-S,/S,sS,1S,+?????׳??GM,+?????׳??GM,?S,3S,?S,+?????׳??GM,+????׳??GM,+5 ???׳??45??ٰ 67?!??Y8?:?




© 2015 - 2024 Weber Informatics LLC | Privacy Policy