commit e71d7141310186fe22078d0971a21d67c470153d Author: Matthew Finkel sysrqb@torproject.org Date: Tue Feb 2 05:53:51 2021 +0000
Bug 40214: Update AMO Collection URL --- tools/fetch_allowed_addons.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/fetch_allowed_addons.py b/tools/fetch_allowed_addons.py index 065e490..ff82537 100755 --- a/tools/fetch_allowed_addons.py +++ b/tools/fetch_allowed_addons.py @@ -31,7 +31,7 @@ def patch_https_everywhere(addons):
def main(argv): amo_collection = argv[0] if argv else '83a9cccfe6e24a34bd7b155ff9ee32' - url = 'https://addons.mozilla.org/api/v4/accounts/account/mozilla/collections/' + amo_collection + '/addons/' + url = 'https://services.addons.mozilla.org/api/v4/accounts/account/mozilla/collecti...' + amo_collection + '/addons/' data = json.loads(fetch(url)) fetch_and_embed_icons(data) patch_https_everywhere(data)