{"id":29691808,"url":"https://github.com/Lainx86/latae","last_synced_at":"2025-07-23T07:06:58.427Z","repository":{"id":62575165,"uuid":"467164034","full_name":"Lainx86/latae","owner":"Lainx86","description":"A simple python library to parse and read robots.txt files","archived":false,"fork":false,"pushed_at":"2022-03-12T09:09:43.000Z","size":237,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-22T10:45:07.675Z","etag":null,"topics":["library","package","python","python-3","python-package","scraper"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/latae/","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/Lainx86.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-03-07T16:03:49.000Z","updated_at":"2022-03-11T14:52:11.000Z","dependencies_parsed_at":"2022-11-03T20:07:03.291Z","dependency_job_id":null,"html_url":"https://github.com/Lainx86/latae","commit_stats":null,"previous_names":["shadawcraw/robots.py","lainx86/latae","biasedkiwi/latae"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Lainx86/latae","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lainx86%2Flatae","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lainx86%2Flatae/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lainx86%2Flatae/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lainx86%2Flatae/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lainx86","download_url":"https://codeload.github.com/Lainx86/latae/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lainx86%2Flatae/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266633558,"owners_count":23959581,"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-23T02:00:09.312Z","response_time":66,"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":["library","package","python","python-3","python-package","scraper"],"created_at":"2025-07-23T07:06:56.160Z","updated_at":"2025-07-23T07:06:58.406Z","avatar_url":"https://github.com/Lainx86.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Latae\n\n\u003e A pure Python library for parsing and reading robots.txt files\n\n## 🛠 Note\n\nLatae is currently in heavy development, expect bugs! More features are planned.\n\n## 💻 Usage\n\nVia a file on your local system...\n\n```python\nimport latae as lt\n\nwith open(\"robots.txt\", \"r\") as f:\n  rb_file = f.readlines()\n\n# Get disallowed paths in the form of a Dict\nlt.get_disallowed(rb_file)\n\n# Get the XML sitemap\nlt.get_sitemap(rb_file)\n```\n\n...Or via the `requests` module\n\n```python\nimport requests\nimport latae as lt\n\nrb_file = requests.get(\"https://duckduckgo.com/robots.txt\").text\n\n# Get disallowed paths in the form of a Dict\nlt.get_disallowed(rb_file.splitlines())\n\n# Get the XML sitemap\nlt.get_sitemap(rb_file.splitlines())\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLainx86%2Flatae","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLainx86%2Flatae","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLainx86%2Flatae/lists"}