juliomalegria / python-craigslist

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

Not getting geotags? #38

Closed Bazhunga closed 7 years ago

Bazhunga commented 7 years ago

It seems that all returned data under forsale has a geotag field of "null". Did craigslist change recently?

juliomalegria commented 7 years ago

Hi Kevin. It seems that recently CL is adding the 'map' tag for all entries, even if the post doesn't have a location. However, the entries that do have a location will be populated if geotagged=True. If you see results with geotag: None it probably means that they just don't have a location.

If you find an entry that does have a location in CL, but the result didn't populate the geotag, let me know, and I'll look into it.