Skip to content

abelsonlive/craigsgenerator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Craig's Generator
=================
Read listings Pythonically.

Examples
---------
Generate listings.

.. code-block:: python

    from craigsgenerator import craigsgenerator
    for listing in craigsgenerator(sites = ['austin.craigslist.org'],sections=['sub']):
        print(listing)

Downloaded files are cached by default and refreshed
if they're older than a day. Change the directory by
specifying the :code:`cachedir`.

.. code-block:: python

    from craigsgenerator import Section
    for listing in Section('austin','sub', cachedir = 'downloads'):
        print(listing)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%