juliomalegria / python-craigslist

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

Searching for key words in a title #24

Closed gregv21v closed 7 years ago

gregv21v commented 7 years ago

How do you search for key words in the title of an ad using the filter parameter?

juliomalegria commented 7 years ago

Hi Gregory,

To do that, you'll use 'query' and 'search_titles'. E.g.:

(..., filters={'query': 'spacious', 'search_titles': True})

I'll try to improve the documentation to include an example of this.