diff --git a/src/scancode/api.py b/src/scancode/api.py index 94592e20ce1..66604eaaa05 100644 --- a/src/scancode/api.py +++ b/src/scancode/api.py @@ -142,7 +142,8 @@ def get_urls(location, threshold=50, **kwargs): SPDX_LICENSE_URL = 'https://spdx.org/licenses/{}' DEJACODE_LICENSE_URL = 'https://enterprise.dejacode.com/urn/urn:dje:license:{}' SCANCODE_LICENSEDB_URL = 'https://scancode-licensedb.aboutcode.org/{}' -SCANCODE_DATA_BASE_URL = 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data' +SCANCODE_DATA_BASE_URL = 'https://github.com/aboutcode-org/scancode-toolkit/tree/develop/src/licensedcode/data' + SCANCODE_LICENSE_URL = f'{SCANCODE_DATA_BASE_URL}/licenses/{{}}.LICENSE' SCANCODE_RULE_URL = f'{SCANCODE_DATA_BASE_URL}/rules/{{}}'