soupsieve>=1.2 [html5lib] [lxml]  COPYING.txt LICENSE TODOconvert-py3k setup.cfg py test-all-versions beautiful4.egg-info/PKG-INFO!bSOURCEEdependency_links-require% top_levelK s4/ bs4/dammittiagnoseeelemen4ing}builderT 1mparserps__j_registry9#OdocsW I s/_K1treLdoc/Makefile doc.zhsource/confJ3p6.1.jpg9/&index.rst scripts/demonstrate__difference*ion_markup3Metadata-V: 2.1 Name:  "D4.7.1 Summary: Screen-scraping library Home-page: Author: Leonard Richardson-email: l! License: MIT Download-URL d?B/ DePUion:  T is a that makes it easy to " e Prmation from web 0s. It sits atop an HTML or XML , providrPythonicO idioms for iterating, search and modify@2theV G # Quick start 5``` a >>> bs4 import-, ,[* =#("

Somebad+");`print A.prettify($<>5i >> print soup.prettify($TX." =traceback.GG_exc3if H6,p("Here'at %s didCx:xB-.prettify()b-" * 80) def lxml_RPhtml=0, **kwargs)@"""PD2 ou< events toccur dur0Bing.P@lets see how~6s aFnKP codeArunn^1""""import etreQ, ele"in P.iter@e(St!IO 1),  wq("%s, %4s(hE.tagu`.text)class AnnouncingPmR(HTML v%6es 6~,$ do{Panyth g._p(self, s,'handle_starttag4h, attr>P0._p` START+P:endNG?ENDEq C@DATAD#scharrefG pCHARREFJ& JoentityLoENTITYN 0com data):  self._p("%s COMMENT" % data) "def handle_decl(2,!:!%GODECLDunknownEUNKNOWN-M/pi'PItmlparser_trace("""Print out the HTMLP- events that occur during MBing.0This lets you see howH/es a document when noN Beautiful Soup code is runndn1""",Jr = Announcing'() R.feed _vowels = "aeiou" _consona = "bcdfghjklmnpqrstvwxyz" :rword(length=5)3Generate a random '-like st".v!''for i in2#geSQif i % 2 == 0hGt = OOelse*&@s +=udom.choice(t-return stsentenc#=4"+U" ".join(B'.int(4,9)) list(ran)doc(num_eleAds=10001""REly gn invalid{.Ktag_name['p', 'div@spanib`script qtable']^B = [ 60,34if ( # New tag.TZB(s_0.append("<%s>;0/)el1w Ir 5domG1,4) V2V`# Close@/" + "\n)"0vardict(bs4=bs4, 3=)"cP.runctx('bs4.a@' , gi@statp .S($@"# strip_dirsAort_ ("cumulative"; 4('_|bs4', 50) if ____ == '__main__'Xhdiagnose( # encoding: utf-8 """Helper classes for tests.""" # Use of this source code is governed by MIT license. __ "MIT" dpickleDcopy fDools@unit TestCase4bs4 .&( ChtMetaAttributeValue, om  Onten,cDoctyp9Strainer>fTag ) tbuilderRTreeB default_-/= ( BAD_DOCUMENT = """A bare ng /mPUBLIC/div> tagaQA Within a ,( like <