beautiful soup

Discussion in 'Python' started by xubin.cz, Jul 30, 2009.

  1. xubin.cz

    xubin.cz Guest

    hi, everyone

    Is there any pakage or module handling html document like beautiful
    soup?

    thanks a lot
    xubin.cz, Jul 30, 2009
    #1
    1. Advertising

  2. xubin.cz schrieb:
    > hi, everyone
    >
    > Is there any pakage or module handling html document like beautiful
    > soup?


    why don't you *use* beautiful soup? It is a module...

    Diez
    Diez B. Roggisch, Jul 30, 2009
    #2
    1. Advertising

  3. xubin.cz

    Masklinn Guest

    On 30 Jul 2009, at 09:30 , Diez B. Roggisch wrote:
    > xubin.cz schrieb:
    >> hi, everyone
    >> Is there any pakage or module handling html document like beautiful
    >> soup?

    >
    > why don't you *use* beautiful soup? It is a module...

    Or lxml, which works a bit better than BF 3.1 (post parser change)
    nowadays.
    Masklinn, Jul 30, 2009
    #3
  4. xubin.cz

    John Nagle Guest

    xubin.cz wrote:
    > hi, everyone
    >
    > Is there any pakage or module handling html document like beautiful
    > soup?


    Try "http://code.google.com/p/html5lib/".

    That's supposed to be a parser which complies with the HTML 5 specification,
    including its rules for handling bad HTML.

    John Nagle
    John Nagle, Jul 31, 2009
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    2
    Views:
    539
    Enigma Curry
    Mar 11, 2006
  2. Tempo

    Using Beautiful Soup

    Tempo, Aug 19, 2006, in forum: Python
    Replies:
    1
    Views:
    554
    Jorge Godoy
    Aug 19, 2006
  3. Francach
    Replies:
    15
    Views:
    722
    George Sakkis
    Sep 21, 2006
  4. Anthra Norell
    Replies:
    0
    Views:
    449
    Anthra Norell
    Sep 7, 2006
  5. PicURLPy
    Replies:
    3
    Views:
    1,158
    David Coffin
    Dec 4, 2006
Loading...

Share This Page