{"id":24108694,"url":"https://github.com/ksylvest/uhaul","last_synced_at":"2026-03-14T16:02:31.408Z","repository":{"id":268626661,"uuid":"904966961","full_name":"ksylvest/uhaul","owner":"ksylvest","description":"A Ruby library for U-Haul that crawls self-storage facilities and prices.","archived":false,"fork":false,"pushed_at":"2025-10-08T15:30:20.000Z","size":1646,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-08T17:46:49.304Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"https://uhaul.ksylvest.com/","language":"Ruby","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/ksylvest.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-17T22:30:41.000Z","updated_at":"2025-10-08T15:30:23.000Z","dependencies_parsed_at":"2024-12-17T23:45:26.286Z","dependency_job_id":"073c6ec7-bd3b-443b-80c2-856036f19ace","html_url":"https://github.com/ksylvest/uhaul","commit_stats":null,"previous_names":["ksylvest/uhaul"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/ksylvest/uhaul","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fuhaul","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fuhaul/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fuhaul/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fuhaul/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ksylvest","download_url":"https://codeload.github.com/ksylvest/uhaul/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ksylvest%2Fuhaul/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279010480,"owners_count":26084757,"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-12T02:00:06.719Z","response_time":53,"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":["ruby"],"created_at":"2025-01-10T23:55:25.322Z","updated_at":"2025-10-12T06:16:26.344Z","avatar_url":"https://github.com/ksylvest.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# U-Haul\n\n[![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ksylvest/uhaul/blob/main/LICENSE)\n[![RubyGems](https://img.shields.io/gem/v/uhaul)](https://rubygems.org/gems/uhaul)\n[![GitHub](https://img.shields.io/badge/github-repo-blue.svg)](https://github.com/ksylvest/uhaul)\n[![Yard](https://img.shields.io/badge/docs-site-blue.svg)](https://uhaul.ksylvest.com)\n[![CircleCI](https://img.shields.io/circleci/build/github/ksylvest/uhaul)](https://circleci.com/gh/ksylvest/uhaul)\n\nA Ruby library offering both a CLI and API for scraping [U-Haul](https://www.publicstorage.com/) self-storage facilities and prices.\n\n## Installation\n\n```bash\ngem install uhaul\n```\n\n## Configuration\n\n```ruby\nrequire 'uhaul'\n\nUHaul.configure do |config|\n  config.user_agent = '../..' # ENV['UHAUL_USER_AGENT']\n  config.timeout = 30 # ENV['UHAUL_TIMEOUT']\n  config.proxy_url = 'http://user:pass@superproxy.zenrows.com:1337' # ENV['UHAUL_PROXY_URL']\nend\n```\n\n## Usage\n\n```ruby\nrequire 'uhaul'\n\nsitemap = UHaul::Facility.sitemap\nsitemap.links.each do |link|\n  url = link.loc\n  facility = UHaul::Facility.fetch(url:)\n\n  puts facility.text\n\n  facility.prices.each do |price|\n    puts price.text\n  end\n\n  puts\nend\n```\n\n## CLI\n\n```bash\nuhaul crawl\n```\n\n```bash\nuhaul crawl \"https://www.uhaul.com/Locations/Self-Storage-near-Manchester-Township-NJ-08759/925037/\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksylvest%2Fuhaul","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fksylvest%2Fuhaul","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fksylvest%2Fuhaul/lists"}