Extracing data from webpage

Discussion in 'Python' started by srinivasan srinivas, Sep 11, 2008.

  1. Hi,
    I am trying to download data from a webpage. I use mechanize python module.
    Could someone tell me how to set/pass an agent like Mozilla or IE that we do in perl's WWW::Mechanize??

    Thanks,
    Srini


    Be the first one to try the new Messenger 9 Beta! Go to http://in.messenger.yahoo.com/win/
     
    srinivasan srinivas, Sep 11, 2008
    #1
    1. Advertising

  2. srinivasan srinivas

    Uwe Schmitt Guest

    On 11 Sep., 11:55, srinivasan srinivas <>
    wrote:
    > Hi,
    > I am trying to download data from a webpage. I use mechanize python module.
    > Could someone tell me how to set/pass an agent like Mozilla or IE that we do in perl's WWW::Mechanize??
    >
    > Thanks,
    > Srini
    >


    http://wwwsearch.sourceforge.net/mechanize/doc.html

    Greetings, Uwe
     
    Uwe Schmitt, Sep 11, 2008
    #2
    1. Advertising

  3. srinivasan srinivas

    Alex Guest

    On Sep 11, 11:55 am, srinivasan srinivas <>
    wrote:
    > Hi,
    > I am trying to download data from a webpage. I use mechanize python module.
    > Could someone tell me how to set/pass an agent like Mozilla or IE that we do in perl's WWW::Mechanize??
    >
    > Thanks,
    > Srini
    >
    >       Be the first one to try the new Messenger 9 Beta! Go tohttp://in.messenger.yahoo.com/win/


    If you have to parse a web page, this could be also useful:
    http://www.crummy.com/software/BeautifulSoup/
     
    Alex, Sep 11, 2008
    #3
    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. buke2
    Replies:
    2
    Views:
    527
    buke2
    Jul 28, 2004
  2. Replies:
    1
    Views:
    445
  3. Johannes Bauer

    Linux, extracing symbol table to read core dump

    Johannes Bauer, Nov 8, 2007, in forum: C Programming
    Replies:
    2
    Views:
    586
    Johannes Bauer
    Nov 8, 2007
  4. chris_huh
    Replies:
    27
    Views:
    2,918
    chris_huh
    May 28, 2009
  5. Nikita Ratlos

    extracing the URL from hpricot element

    Nikita Ratlos, Dec 10, 2008, in forum: Ruby
    Replies:
    0
    Views:
    95
    Nikita Ratlos
    Dec 10, 2008
Loading...

Share This Page