diff --git a/recipesauto/src/recipesauto/devdocs.py b/recipesauto/src/recipesauto/devdocs.py index 8c1bfa66..55702ea7 100644 --- a/recipesauto/src/recipesauto/devdocs.py +++ b/recipesauto/src/recipesauto/devdocs.py @@ -9,7 +9,7 @@ context = Context.get() -DEVDOCS_HOMEPAGE = "https://devdocs.io" +DEVDOCS_DOCS = "https://devdocs.io/docs.json" def get_recipe_tag() -> str: @@ -18,70 +18,26 @@ def get_recipe_tag() -> str: def get_expected_recipes() -> list[dict[str, Any]]: resp = requests.get( - DEVDOCS_HOMEPAGE, + DEVDOCS_DOCS, timeout=context.http_timeout, ) resp.raise_for_status() - # search for docs JS url - match = re.findall(r'