{"id":16271257,"url":"https://github.com/dylanhogg/legaldata","last_synced_at":"2025-07-21T18:31:18.674Z","repository":{"id":62575553,"uuid":"303249016","full_name":"dylanhogg/legaldata","owner":"dylanhogg","description":"Provides access to Australian legal data","archived":false,"fork":false,"pushed_at":"2022-03-10T05:51:28.000Z","size":41,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-24T02:11:26.197Z","etag":null,"topics":["crawler","data","law","lawtech","legal","legaltech"],"latest_commit_sha":null,"homepage":"","language":"Python","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/dylanhogg.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":"2020-10-12T01:37:46.000Z","updated_at":"2025-05-11T13:14:20.000Z","dependencies_parsed_at":"2022-11-03T17:34:31.679Z","dependency_job_id":null,"html_url":"https://github.com/dylanhogg/legaldata","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/dylanhogg/legaldata","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanhogg%2Flegaldata","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanhogg%2Flegaldata/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanhogg%2Flegaldata/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanhogg%2Flegaldata/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dylanhogg","download_url":"https://codeload.github.com/dylanhogg/legaldata/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dylanhogg%2Flegaldata/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266352508,"owners_count":23915766,"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-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["crawler","data","law","lawtech","legal","legaltech"],"created_at":"2024-10-10T18:13:03.340Z","updated_at":"2025-07-21T18:31:18.656Z","avatar_url":"https://github.com/dylanhogg.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Legal Data\n\n[![pypi Version](https://img.shields.io/pypi/v/legaldata.svg?logo=pypi)](https://pypi.org/project/legaldata/)\n![Latest Tag](https://img.shields.io/github/v/tag/dylanhogg/legaldata)\n![Depenencies](https://img.shields.io/librariesio/github/dylanhogg/legaldata)\n\nA package for crawling Australian legal data from legislation.com.au and austlii.edu.au with cache support.\n\nPlease be respectful of server host resources by using a reasonable crawl delay, \nhonouring robots.txt and crawling at times when the server load is lighter.  \n\n### Install from PyPi\n\n```shell script\npip install legaldata\n```\n\n### legislation.com.au example\n\nThis example will crawl Commonwealth Acts from [legislation.com.au](https://www.legislation.gov.au/) and copy \nfiles (docx, pdf, zip) to the save path.\n\n```python\nfrom legaldata.legislation.crawler import ActCrawler\n\ncrawler = ActCrawler()\nsave_path = \"./legislation.com.au/\"\n\nfor index_url in crawler.get_index_pages():\n    acts = crawler.get_acts_from_index(index_url, save_path)\n```\n\n\n### austlii.edu.au example\n\nThis example will crawl Commonwealth Acts from [austlii.edu.au/](http://www.austlii.edu.au/) and copy \nfiles (rtf, txt) to the save path.\n\n```python\nfrom legaldata.austlii.crawler import ActCrawler\n\ncrawler = ActCrawler()\nsave_path = \"./austlii.edu.au/\"\n\nfor index_url in crawler.get_index_pages():\n    acts = crawler.get_acts_from_index(index_url, save_path)\n```\n\nLegal Data is distributed under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanhogg%2Flegaldata","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdylanhogg%2Flegaldata","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdylanhogg%2Flegaldata/lists"}