[tbb-commits] [tor-browser-build/maint-10.0-android] Bug 40214: Update AMO Collection URL

sysrqb at torproject.org sysrqb at torproject.org
Fri Feb 19 14:54:59 UTC 2021


commit 73c1135363a124885bbd5e961e80c45e7d80ff77
Author: Matthew Finkel <sysrqb at 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/collections/' + amo_collection + '/addons/'
   data = json.loads(fetch(url))
   fetch_and_embed_icons(data)
   patch_https_everywhere(data)





More information about the tbb-commits mailing list