python-craigslist icon indicating copy to clipboard operation
python-craigslist copied to clipboard

Don't log warnings for listings that have been removed

Open incontestableness opened this issue 2 years ago • 1 comments

Sometimes, listings that violate Craigslist's TOS will be removed, but remain searchable. This change stops logging warnings for these non-existent listings. Here's an example from the cars & trucks section which consistently displays in searches but whose listing page returns an HTTP 404. image

incontestableness avatar Jul 27 '22 20:07 incontestableness

It may be worth noting that the "deleted" attribute is still set to false in these cases.

incontestableness avatar Jul 28 '22 03:07 incontestableness