Get Subcat With Depth
get_subcat_with_depthRecursively collect subcategories from a Wikipedia category down to a specified depth (1-5) for citation analysis or taxonomy building.
Instructions
Recursively collect subcategories down to depth levels (1-5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Wikipedia language code (default "en"). | en |
| depth | No | Levels to descend (default 1, max 5). | |
| catname | Yes | Root category name. | |
| replacement | No | Character substituted for spaces in titles (default "_"). | _ |