Closed AlJohri closed 7 years ago
Hey @juliomalegria, I was wondering if you've ever used the jsonsearch endpoint within craigslist and compared it to the regular search? I wasn't sure what the differences are but it seems a tad easier to parse.
jsonsearch
Here's a quick script that runs on Python 3.5 and requires the requests library demonstrating the jsonsearch endpoint: https://gist.github.com/AlJohri/dc51918a65752099b2a8f4df5dba7f93
requests
Here's an example of the jsonsearch endpoint that I'm referring to: https://washingtondc.craigslist.org/jsonsearch/apa?postal_code=20071&search_distance=1&sort=date&s=0
Hey @juliomalegria, I was wondering if you've ever used the
jsonsearch
endpoint within craigslist and compared it to the regular search? I wasn't sure what the differences are but it seems a tad easier to parse.Here's a quick script that runs on Python 3.5 and requires the
requests
library demonstrating thejsonsearch
endpoint: https://gist.github.com/AlJohri/dc51918a65752099b2a8f4df5dba7f93Here's an example of the
jsonsearch
endpoint that I'm referring to: https://washingtondc.craigslist.org/jsonsearch/apa?postal_code=20071&search_distance=1&sort=date&s=0