diff --git a/src/repology/repology_cli.py b/src/repology/repology_cli.py index 2d3676c..6c19760 100755 --- a/src/repology/repology_cli.py +++ b/src/repology/repology_cli.py @@ -136,7 +136,7 @@ def __init__(self): # - Cache all responses locally for 7200 seconds self.session = CachedLimiterSession(per_second=1, expire_after=7200) ua_product = "repology_cli/0" - ua_comment = "(https://github.com/tiiuae/sbomnix/tree/main/scripts/repology)" + ua_comment = "(https://github.com/tiiuae/sbomnix/)" self.headers = {"User-Agent": f"{ua_product} {ua_comment}"} def _packages_to_df(self, args, re_pkg_internal=None): diff --git a/src/repology/repology_cve.py b/src/repology/repology_cve.py index 194f6e5..6097321 100755 --- a/src/repology/repology_cve.py +++ b/src/repology/repology_cve.py @@ -190,7 +190,7 @@ def query_cve(pkg_name, pkg_version): """ session = CachedLimiterSession(per_second=1, expire_after=7200) ua_product = "repology_cli/0" - ua_comment = "(https://github.com/tiiuae/sbomnix/tree/main/scripts/repology)" + ua_comment = "(https://github.com/tiiuae/sbomnix/)" headers = {"User-Agent": f"{ua_product} {ua_comment}"} pkg = urllib.parse.quote(pkg_name) ver = urllib.parse.quote(pkg_version)