juliomalegria / python-craigslist

Simple Craigslist wrapper
MIT No Attribution
387 stars 117 forks source link

Not a valid site error #10

Closed kadnan closed 8 years ago

kadnan commented 8 years ago

None of your example is working, gives errors like:

'newyork' is not a valid site
Traceback (most recent call last):
  File "/Clients/xx/cl.py", line 3, in <module>
    cl_e = CraigslistEvents(site='newyork', filters={'free': True, 'food': True})
  File "/Library/Python/2.7/site-packages/craigslist/__init__.py", line 67, in __init__
    raise ValueError(msg)
ValueError: 'newyork' is not a valid site
aemonm commented 8 years ago

Also having the same issue.

juliomalegria commented 8 years ago

New version of python-craigslist (1.0.1) is live in PyPI now. That version should fix this issue.

Thanks for bearing with me :)