Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
ó æJp[c@s‚ddlmZddlZddlZddlmZmZmZmZddddgZ dZ d Z d Z d Z d Zd Zdefd„ƒYZeƒZdefd„ƒYZdefd„ƒYZdefd„ƒYZd„Zdefd„ƒYZddlmZeeƒyddlmZeeƒWnek rKnXyddlmZeeƒWnek r}nXdS(iÿÿÿÿ(t defaultdictN(tCharsetMetaAttributeValuetContentMetaAttributeValuetHTMLAwareEntitySubstitutiont whitespace_retHTMLTreeBuildertSAXTreeBuildert TreeBuildertTreeBuilderRegistrytfastt permissivetstricttxmlthtmlthtml5cBs#eZd„Zd„Zd„ZRS(cCsttƒ|_g|_dS(N(Rtlisttbuilders_for_featuretbuilders(tself((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pyt__init__ scCsBx(|jD]}|j|jd|ƒq W|jjd|ƒdS(s8Register a treebuilder based on its advertised features.iN(tfeaturesRtinsertR(Rttreebuilder_classtfeature((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pytregister$scGst|jƒdkrdSt|ƒdkr6|jdSt|ƒ}|jƒd}d}x‚t|ƒdkrÜ|jƒ}|jj|gƒ}t|ƒdkr[|dkrÁ|}t|ƒ}qÙ|j t|ƒƒ}q[q[W|dkrídSx|D]}||krô|SqôWdS(Ni( tlenRtNoneRtreversetpopRtgettsett intersection(RRt candidatest candidate_setRtwe_have_the_featuret candidate((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pytlookup*s.        (t__name__t __module__RRR$(((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pyRs  cBs�eZdZdZgZgZeZeZe ƒZ d Z iZ d„Zd„Zd„Zd„Zd d d„Zd„Zd„Zd „ZRS( s2Turn a document into a Beautiful Soup object tree.s[Unknown tree builder]cCs d|_dS(N(Rtsoup(R((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pyRfscCsdS(N((R((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pytresetiscCs |jdkrtS||jkS(s¤Might a tag with this name be an empty-element tag? The final markup may or may not actually present this tag as self-closing. For instance: an HTMLBuilder does not consider a

tag to be an empty-element tag (it's not in HTMLBuilder.empty_element_tags). This means an empty

tag will be presented as "

", not "

". The default implementation has no opinion about which tags are empty-element tags, so a tag will be presented as an empty-element tag if and only if it has no contents. "" will become "", and "bar" will be left alone. N(tempty_element_tagsRtTrue(Rttag_name((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pytcan_be_empty_elementlscCs tƒ‚dS(N(tNotImplementedError(Rtmarkup((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pytfeed�scCs|ddtfS(N(RtFalse(RR.tuser_specified_encodingtdocument_declared_encoding((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pytprepare_markup„scCs|S(s¥Wrap an HTML fragment to make it look like a document. Different parsers do this differently. For instance, lxml introduces an empty tag, and html5lib doesn't. Abstracting this away lets us write simple tests which run HTML fragments through the parser and compare the results against other HTML fragments. This method should not be used outside of tests. ((Rtfragment((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pyttest_fragment_to_documentˆs cCstS(N(R0(Rttag((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pytset_up_substitutions•scCs½|s |S|jr¹|jjdgƒ}|jj|jƒdƒ}xs|jƒD]b}||kst|rP||krP||}t|tƒrŸtj|ƒ}n|}|||Às(tdictRtitemsR'thandle_starttag(RtnameR?((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pyt startElement¿s"cCs|jj|ƒdS(N(R't handle_endtag(RRR((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pyt endElementÄscCs|j||ƒdS(N(RS(RtnsTupletnodeNameR?((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pytstartElementNSÈscCs|j|ƒdS(N(RU(RRVRW((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pyt endElementNSÌscCsdS(N((Rtprefixt nodeValue((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pytstartPrefixMappingÑscCsdS(N((RRZ((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pytendPrefixMappingÕscCs|jj|ƒdS(N(R't handle_data(Rtcontent((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pyt charactersÚscCsdS(N((R((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pyt startDocumentÝscCsdS(N((R((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pyt endDocumentàs(R%R&RFR/RLRSRURXRYR\R]R`RaRb(((s8/usr/lib/python2.7/site-packages/bs4/builder/__init__.pyR¶s          c$BsseZdZejZeddddddddd d d d d dddddddddddgƒZedddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-dd.d/d0d1d2d3d4d5d6d7d8d9d:g#ƒZi d;d<d=gd>6d?d@gdA6d?d@gd 6dBgdC6dBgdD6dBgdC6dEgd&6dFgdG6d?gd6dHgdI6dJgdK6dLgd36ZdM„Z RS(Ns]This TreeBuilder knows facts about HTML. Such as which tags are empty-element tags. tareatbasetbrtcoltembedthrtimgtinputtkeygentlinktmenuitemtmetatparamtsourcettracktwbrtbasefonttbgsoundtcommandtframetimagetisindextnextidtspacertaddresstarticletasidet blockquotetcanvastddtdivtdltdttfieldsett figcaptiontfiguretfootertformth1th2th3th4th5th6theadertlitmaintnavtnoscripttoltoutputtptpretsectionttablettfoottultvideotclasst accesskeytdropzoneR8treltrevtatheadersttdtthsaccept-charsettarchivetobjecttsizesticontsandboxtiframetforcCs²|jdkrtS|jdƒ}|jdƒ}|jdƒ}d}|dk rk|}t|ƒ|ds@  " 4 b.N