Skip to content

ValueError: 'portland' is not a valid site #106

@chrismdavis

Description

@chrismdavis

Getting the following error including when ran with default site 'sfbay'. Was working as recent as yesterday: Thanks

cl_h = CraigslistHousing(site='portland', category='apa',
                         filters={'max_price': 2000, 
                                  'min_price': 1200,
                                  'posted_today': True,
                                  'search_distance': 15,
                                  'zip_code': 97215,
                                  'housing_type': 'house'})
'portland' is not a valid site
'portland' is not a valid site
'portland' is not a valid site
'portland' is not a valid site
'portland' is not a valid site
Traceback (most recent call last):

  File "<ipython-input-9-da0a94b31916>", line 1, in <module>
    cl_h = CraigslistHousing(site='portland', category='apa',

  File "C:\Users\addas\anaconda3\lib\site-packages\craigslist\base.py", line 63, in __init__
    raise ValueError(msg)

ValueError: 'portland' is not a valid site

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions