<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    心的方向

    新的征途......
    posts - 75,comments - 19,trackbacks - 0
    下載地址:http://www.crummy.com/software/BeautifulSoup/


    Beautiful Soup

    "A tremendous boon." -- Python411 Podcast

    [ Download | Documentation | What's New | Contributors | To-do list | Forum ]

    Beautiful Soup is a Python HTML/XML parser designed for quick turnaround projects like screen-scraping. Three features make it powerful:

    1. Beautiful Soup won't choke if you give it bad markup. It yields a parse tree that makes approximately as much sense as your original document. This is usually good enough to collect the data you need and run away.
    2. Beautiful Soup provides a few simple methods and Pythonic idioms for navigating, searching, and modifying a parse tree: a toolkit for dissecting a document and extracting what you need. You don't have to create a custom parser for each application.
    3. Beautiful Soup automatically converts incoming documents to Unicode and outgoing documents to UTF-8. You don't have to think about encodings, unless the document doesn't specify an encoding and Beautiful Soup can't autodetect one. Then you just have to specify the original encoding.

    Beautiful Soup parses anything you give it, and does the tree traversal stuff for you. You can tell it "Find all the links", or "Find all the links of class externalLink", or "Find all the links whose urls match "foo.com", or "Find the table heading that's got bold text, then give me that text."

    Valuable data that was once locked up in poorly-designed websites is now within your reach. Projects that would have taken hours take only minutes with Beautiful Soup.

    Download Beautiful Soup

    The latest version is Beautiful Soup version 3.0.4, released April 10, 2007. You can download it as a single, self-contained file, or as a tarball with installer script and unit tests. Beautiful Soup is licensed under the same terms as Python itself, so you can drop it into almost any Python application (or into your library path) and start using it immediately.

    Beautiful Soup works with Python versions 2.3 and up. It works best with Python versions 2.4 and up. If you don't have Python 2.4, you should install the cjkcodecs, iconvcodec, and chardet libraries. If you don't do this, Beautiful Soup will still work, but it won't be very good at parsing documents in Asian encodings.

    Older versions are still available: the 1.x series works with Python 1.5, and the 2.x series has a fairly large installed base.

    posted on 2007-07-30 13:21 阿偉 閱讀(900) 評論(0)  編輯  收藏 所屬分類: Python

    只有注冊用戶登錄后才能發表評論。


    網站導航:
     
    主站蜘蛛池模板: 无码精品一区二区三区免费视频| 一级毛片无遮挡免费全部| 真实乱视频国产免费观看| 日韩免费在线观看视频| 另类图片亚洲校园小说区| 亚洲午夜精品国产电影在线观看| 波多野结衣在线免费视频| 99re6在线精品免费观看| 羞羞视频免费网站入口| 亚洲五月综合缴情婷婷| 夜夜亚洲天天久久| 亚洲精品国产字幕久久不卡| 亚洲色欲久久久久综合网| 国产免费拔擦拔擦8x| 热99re久久精品精品免费| 久久不见久久见免费影院| 91香蕉成人免费网站| 99精品热线在线观看免费视频| 亚洲色最新高清av网站| 亚洲男人电影天堂| 亚洲成年轻人电影网站www| 亚洲精品无码久久久久去q| 色噜噜AV亚洲色一区二区| 美腿丝袜亚洲综合| 亚洲午夜成人精品电影在线观看| 日本一卡精品视频免费 | 无码日韩人妻AV一区免费l| 亚洲欧美日韩自偷自拍| 亚洲国产成人久久| 亚洲av无码不卡久久| 香蕉大伊亚洲人在线观看| 亚洲va久久久久| 亚洲精品女同中文字幕| 老子影院午夜伦不卡亚洲| 国产成人不卡亚洲精品91| 一级看片免费视频囗交| 91在线视频免费观看| 久久国产乱子精品免费女 | 在线观看人成网站深夜免费| 人妻视频一区二区三区免费| 在线免费一区二区|