Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Grab 0.4.10

    Download button

    No screenshots available
    Downloads: 570  Tell us about an update
    User Rating:
    Rated by:
    Very Good (4.0/5)
    1 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Grigoriy Petukhov | More programs
    BSD License / FREE
    September 4th, 2012, 00:33 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Grab description

    Pycurl wrapper

    Grab is a site scraper powered with curl.

    Aims of Grab library:

     * Provide easy interface to pycurl library
     * Provide tools for easy scraping, parsing, grabbing web sites

    Installation

    Put grab package to python path and use it.

    Documentation

    If you understand russian you can read it here

    Examples of usage

    Find the size in Kib of the google home page.

    from grab import Grab

    g = Grab()
    g.setup(url='http://google.com')
    g.request()
    print len(g.response_body) // 1024


    Log in to bitbucket.org and send message to user lorien.

    from grab import Grab

    g = Grab()
    g.setup(url='http://bitbucket.org/account/signin/',
     post={'username': 'lorien', 'password': '****',
     'blogin': 'Sign in'})
    g.request()

    g.setup(url='http://bitbucket.org/notifications/send/',
     post={'recipient': 'lorien', 'title': 'Hi, me', 'message': 'How are you?'})
    g.request()



    Product's homepage

    Requirements:

    · Python
    · curl and libcurl

      


    TAGS:

    Pycurl wrapper | site scraper | Pycurl | wrapper | scraper

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM