Skip to content

Commit 10afc59

Browse files
committed
Fix licensedb URLs and start modernization cleanup
1 parent 022ddc8 commit 10afc59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/scancode/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def get_urls(location, threshold=50, **kwargs):
142142
SPDX_LICENSE_URL = 'https://spdx.org/licenses/{}'
143143
DEJACODE_LICENSE_URL = 'https://enterprise.dejacode.com/urn/urn:dje:license:{}'
144144
SCANCODE_LICENSEDB_URL = 'https://scancode-licensedb.aboutcode.org/{}'
145-
SCANCODE_DATA_BASE_URL = 'https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data'
145+
SCANCODE_DATA_BASE_URL = 'https://raw.githubusercontent.com/nexB/scancode-toolkit/develop/src/licensedcode/data'
146146
SCANCODE_LICENSE_URL = f'{SCANCODE_DATA_BASE_URL}/licenses/{{}}.LICENSE'
147147
SCANCODE_RULE_URL = f'{SCANCODE_DATA_BASE_URL}/rules/{{}}'
148148

0 commit comments

Comments
 (0)