{"id":19012202,"url":"https://github.com/mirukana/pydecensooru","last_synced_at":"2026-06-18T01:31:17.544Z","repository":{"id":62579811,"uuid":"158317754","full_name":"mirukana/pydecensooru","owner":"mirukana","description":"Uncensor Danbooru posts with Python","archived":false,"fork":false,"pushed_at":"2018-11-20T23:38:51.000Z","size":22,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-21T23:20:26.603Z","etag":null,"topics":["banned","better","booru","bypass","danbooru","decensooru","gold","lunafind","lunakit","member","python-library","python3","uncensor"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mirukana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-20T02:14:01.000Z","updated_at":"2025-12-17T05:28:41.000Z","dependencies_parsed_at":"2022-11-03T21:02:27.148Z","dependency_job_id":null,"html_url":"https://github.com/mirukana/pydecensooru","commit_stats":null,"previous_names":["mirukan/pydecensooru"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mirukana/pydecensooru","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirukana%2Fpydecensooru","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirukana%2Fpydecensooru/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirukana%2Fpydecensooru/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirukana%2Fpydecensooru/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mirukana","download_url":"https://codeload.github.com/mirukana/pydecensooru/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mirukana%2Fpydecensooru/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34472822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-17T02:00:05.408Z","response_time":127,"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":["banned","better","booru","bypass","danbooru","decensooru","gold","lunafind","lunakit","member","python-library","python3","uncensor"],"created_at":"2024-11-08T19:17:08.610Z","updated_at":"2026-06-18T01:31:17.522Z","avatar_url":"https://github.com/mirukana.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pydecensooru\n\n[![PyPI downloads](http://pepy.tech/badge/pydecensooru)](\n    http://pepy.tech/project/pydecensooru)\n[![PyPI version](https://img.shields.io/pypi/v/pydecensooru.svg)](\n    https://pypi.org/projects/pydecensooru)\n[![PyPI pyversions](https://img.shields.io/pypi/pyversions/pydecensooru.svg)](\n    https://pypi.python.org/pypi/pydecensooru)\n\nA Python module using [Decensooru](https://github.com/friendlyanon/decensooru)\ndata to automatically fill any Danbooru post's missing info keys.\n\nThe Decensooru `id:md5.ext`\n[batches](https://github.com/friendlyanon/decensooru/tree/master/batches)\nwill be silently fetched and kept up-to-date in your user\ndata directory,  \ne.g. *~/.local/share/pydecensooru* on GNU/Linux by default.\n\nOriginally developed for transparent usage with\n[lunafind](https://github.com/mirukan/lunafind).\n\n## Examples\n\n```python3\n\u003e\u003e\u003e import requests                                                                     \n\u003e\u003e\u003e from pydecensooru import decensor, decensor_iter \n\n# Decensoring a single post if it needs to be:\n\u003e\u003e\u003e p2 = requests.get(\"https://danbooru.donmai.us/posts/2.json\").json()\n\u003e\u003e\u003e \"file_url\" in p2\nFalse\n\u003e\u003e\u003e p2d = decensor(p2)\n\u003e\u003e\u003e \"file_url\" in p2d\nTrue\n\u003e\u003e\u003e p2[\"file_ext\"]\n'png'\n\n# Transparently decensoring any post that needs it in a search:\n\u003e\u003e\u003e posts = requests.get(\"https://danbooru.donmai.us/posts.json?tags=id:1..10\").json()\n\u003e\u003e\u003e print(type(posts), type(posts[0]))\n\u003cclass 'list'\u003e \u003cclass 'dict'\u003e\n\u003e\u003e\u003e \"file_url\" in posts[-2]\nFalse\n\u003e\u003e\u003e posts = list(decensor_iter(posts))\n\u003e\u003e\u003e \"file_url\" in posts[-2]\nTrue\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirukana%2Fpydecensooru","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmirukana%2Fpydecensooru","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmirukana%2Fpydecensooru/lists"}