Closed Quresh95 closed 3 years ago
Likewise for this issue (referencing issue #100)
Hi @Quresh95. Can you explain me what issue you're having with the filters? The correct names for the filters are min_miles
and max_miles
. That might be the issue.
I did a quick test and it seems to be working correctly for me:
>>> from craigslist import CraigslistForSale
>>> cl_fs = CraigslistForSale(site='sfbay', category='cta', filters={'min_miles': 400000, 'max_miles': 450000})
>>> len(list(cl_fs.get_results()))
18
From the website:
Please feel free to re-open if the problem remains.
Agreed, I actually had the correct names in my code, min_miles & max_miles. They didn't seem to be working earlier but worked fine just now. I must've had something else wrong with my code which I seem to have since resolved. Thank you!
The filter, min_mileage & max_mileage, under the CTA (cars & trucks) category in CraigslistForSale is not working.