From 384a0b11233efa767d6b230922867cdcaeac5a35 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Tue, 5 Mar 2024 11:57:17 +0000 Subject: [PATCH] all: Update registry URL Update the references to the registry URL to the new application and registry domain name. --- README.md | 4 ++-- datagetter.py | 2 +- getter/get.py | 2 +- setup.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 3f2a6c5..e281c67 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # 360Giving datagetter -Scripts to download the data from the http://data.threesixtygiving.org registry +Scripts to download the data from the http://registry.threesixtygiving.org file registry ## Install @@ -42,7 +42,7 @@ optional arguments: -h, --help show this help message and exit --no-download Don't download any files only convert existing data --local-registry LOCAL_REGISTRY - Use a local registry file rather than data.threesixtygiving.org + Use a local registry file rather than registry.threesixtygiving.org --no-convert --no-convert-big-files --no-validate diff --git a/datagetter.py b/datagetter.py index ab43b78..5279222 100755 --- a/datagetter.py +++ b/datagetter.py @@ -10,7 +10,7 @@ def main(): help="Don't download any files only convert existing data") parser.add_argument('--local-registry', dest='local_registry', action='store', - help="Use a local registry file rather than data.threesixtygiving.org", + help="Use a local registry file rather than registry.threesixtygiving.org", default=False) parser.add_argument('--no-convert', dest='convert', action='store_false') diff --git a/getter/get.py b/getter/get.py index 05ddba5..2a2a3f7 100644 --- a/getter/get.py +++ b/getter/get.py @@ -334,7 +334,7 @@ def get(args): elif args.download: mkdirs(args.data_dir, False) - r = requests.get('https://data.threesixtygiving.org/data.json') + r = requests.get('https://registry.threesixtygiving.org/data.json') with open('%s/data_original.json' % args.data_dir, 'w') as fp: fp.write(r.text) data_all = r.json() diff --git a/setup.py b/setup.py index 0650180..f1b872c 100755 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ scripts=['datagetter.py'], url='https://github.com/ThreeSixtyGiving/datagetter', license='LICENSE', - description='Fetches the data from data.threesixtygiving.org', + description='Fetches the data from registry.threesixtygiving.org', install_requires=install_requires, packages=['getter'], packages_dir={'getter': 'getter'}