python-craigslist
python-craigslist copied to clipboard
Don't log warnings for listings that have been removed
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.
It may be worth noting that the "deleted" attribute is still set to false in these cases.