Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Misc python tools

Project Description

# avoin Python code for data scraping (c) 2012 Ville Korhonen (ville@xd.fi), GPLv3

## Installation You may install directly from PyPI using:

pip install avoin

or latest HEAD via git:

pip install git+https://github.com/ypcs/avoin.git#egg=avoin
## Using (via Python Shell)
>>> from avoin.scraper.scraper import DefaultScraper, html_title_parser
>>> scraper = DefaultScraper()
>>> url = 'http://www.google.com/'
>>> result = scraper.parse(url, parser=html_title_parser)
>>> print result
Google
>>> result = scraper.parse(url, parser=html_title_parser, format='json')
>>> print result
"Google"

## Using (via command line) Fetch all URLs from webpage as plaintext

avoin xpath –url ‘http://ypcs.fi/’ –xpath ‘//a/@href’ –format text
Release History

Release History

History Node

0.0.9.dev-20121012

This version
History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
avoin-0.0.8.tar.gz (3.0 kB) Copy SHA256 Checksum SHA256 Source Oct 12, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting