Craigslist RSS URL Change Broke The Little Buddy
Tonight I found out that craigslist’s RSS URL changed which in turn broke Craig’s Little Buddy.
The RSS URL used to follow this format:
const RSS_URL_FORMAT =
'http://%s.craigslist.org/search/%s?query=%s&srchType=%s&minAsk=%s&maxAsk=%s&hasPic=%s&format=rss';Well, it still does… but only if you actually have a search query. It used to be that if you had an empty query all you had to do was set query=*. Setting it to ” didn’t work. They actually didn’t even have an RSS link on empty query pages. So the * was the secret.
But now they up and changed the empty query RSS URL on us. It now looks like this:
const RSS_URL_FORMAT_EMPTY_QUERY = 'http://%s.craigslist.org/%s/index.rss';So, there’s 2 formats now…. good times. Anyways… bug fixed and the “index” pages, like the electronics for sale page, are all populated again.
I really gotta fix the descriptions and titles for all the pages though. It’s pretty annoying since the barter, wtb, free, all & general don’t fall into the same format as the for sale pages.









