Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: Update registry URL #56

Merged
merged 1 commit into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion datagetter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down
2 changes: 1 addition & 1 deletion getter/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'}
Expand Down
Loading