{"id":31595262,"url":"https://github.com/escherize/crajure","last_synced_at":"2025-10-06T03:59:00.112Z","repository":{"id":22448143,"uuid":"25786526","full_name":"escherize/crajure","owner":"escherize","description":"Clojure Craigslist client - please use responsibly","archived":false,"fork":false,"pushed_at":"2014-12-01T03:20:09.000Z","size":196,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-17T02:25:14.964Z","etag":null,"topics":["clojure","craigslist"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/escherize.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-10-26T18:56:53.000Z","updated_at":"2023-03-10T15:29:24.000Z","dependencies_parsed_at":"2022-08-20T14:00:12.415Z","dependency_job_id":null,"html_url":"https://github.com/escherize/crajure","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/escherize/crajure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escherize%2Fcrajure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escherize%2Fcrajure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escherize%2Fcrajure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escherize%2Fcrajure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/escherize","download_url":"https://codeload.github.com/escherize/crajure/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/escherize%2Fcrajure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278556182,"owners_count":26006081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clojure","craigslist"],"created_at":"2025-10-06T03:58:50.304Z","updated_at":"2025-10-06T03:59:00.101Z","avatar_url":"https://github.com/escherize.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"crajure\n=======\n\nVery Easy Craigslist Scraping for Clojure.\n----\n\nWe've been using it for data vis, BI, and some other things.\n\n[![Clojars Project](http://clojars.org/crajure/latest-version.svg)](http://clojars.org/crajure)\n\nusage\n---\nTo search for fixie bikes in san francisco, simply supply the space delimited query string, area code (i.e. :sfbay), and site section (i.e. :for-sale); like so:\n\n```{clojure}\n(query-cl \"fixie bike\" :sfbay :for-sale)\n;=\u003e \n   ({:price 2500,\n     :title \"2013 Giant Glory 2 Medium *price drop*\",\n     :date \"2014-10-22 21:20\",\n     :region \"morgan hill\",\n     :item-url \"http://sfbay.craigslist.org/sby/bik/4713638395.html\",\n     :category \"bicycles - by owner\"}\n    {:price 2500,\n     :title \"FS: Cinelli Mash Original Bolt Complete 53cm\",\n     :date \"2014-10-20 11:57\",\n     :region \"san jose south\",\n     :item-url \"http://sfbay.craigslist.org/sby/bik/4681252594.html\",\n     :category \"bicycles - by owner\"} ...)\n```\n\nAlso, one may call query-cl with a map like so:\n\n```{clojure}\n(query-cl {:query \"fixie bike\"\n           :area \"sfbay\"\n           :section :for-sale})\n;=\u003e ({:price 2500,\n     :title \"2013 Giant Glory 2 Medium *price drop*\",\n     :date \"2014-10-22 21:20\",\n     :region \"morgan hill\",\n     :item-url \"http://sfbay.craigslist.org/sby/bik/4713638395.html\",\n     :category \"bicycles - by owner\"}\n    {:price 2500,\n     :title \"FS: Cinelli Mash Original Bolt Complete 53cm\",\n     :date \"2014-10-20 11:57\",\n     :region \"san jose south\",\n     :item-url \"http://sfbay.craigslist.org/sby/bik/4681252594.html\",\n     :category \"bicycles - by owner\"} ...)\n```\n\nWhy Crajure?\n----\nOne interesting benefit to using this library is we can query craigslist for the entire earth using `:all` as the area-code.  We can also look at every section of the site with one query just the same way, by using `:all` in the site-section field.  These queries can hit thousands of webpages so of course it's not exactly reccomended when online speed is nessicary.\n```{clojure}\n(query-cl \"bicycle\" :all :all)\n;=\u003e  lots of maps.\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fescherize%2Fcrajure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fescherize%2Fcrajure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fescherize%2Fcrajure/lists"}