diff --git a/rank_hugo_themes.py b/rank_hugo_themes.py index aae1992..3888ad1 100755 --- a/rank_hugo_themes.py +++ b/rank_hugo_themes.py @@ -181,6 +181,8 @@ def parse_gitlab_hugo_themes_list(): def get_corrected_url(x): if 'neofeed-theme' in x: return x.rstrip('/v2') + elif 'docuapi' in x: + return x.rstrip('/v2') else: return x @@ -224,6 +226,8 @@ def get_gitlab_project_ids(): def get_corrected_theme_name(x): if 'neofeed-theme' in x: return x.rstrip('/v2') + elif 'docuapi' in x: + return x.rstrip('/v2') else: return x