Scrape links from a single web site
Project description
=====
Link Grabber
=====
Link Grabber provides a quick and easy way to grab links from
a single web page.
How-To
======
.. code:: bash
$ python setup.py install
OR
.. code:: bash
$ pip install linkGrabber
Quick
====
.. code:: python
import linkGrabber
seek = linkGrabber.ScrapeLinks("http://www.google.com")
seek.find_links()
# limit the number of "a" tags to 5
seek.find_links(limit=5)
# filter the "a" tag href attribute
seek.find_links({ "href": re.compile("plus.google.com") })
Link Grabber
=====
Link Grabber provides a quick and easy way to grab links from
a single web page.
How-To
======
.. code:: bash
$ python setup.py install
OR
.. code:: bash
$ pip install linkGrabber
Quick
====
.. code:: python
import linkGrabber
seek = linkGrabber.ScrapeLinks("http://www.google.com")
seek.find_links()
# limit the number of "a" tags to 5
seek.find_links(limit=5)
# filter the "a" tag href attribute
seek.find_links({ "href": re.compile("plus.google.com") })
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
linkGrabber-0.1.0.tar.gz
(2.5 kB
view hashes)