From 583fd5249b5f672006b5c2b821522b33e80408aa Mon Sep 17 00:00:00 2001 From: Boris Ponsioen <b.g.t.ponsioen@uva.nl> Date: Tue, 20 Feb 2018 09:40:20 +0100 Subject: [PATCH] Makes metacore cf pull small for testing --- metacore/services.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/metacore/services.py b/metacore/services.py index 2672ca364..e3fb404e5 100644 --- a/metacore/services.py +++ b/metacore/services.py @@ -16,10 +16,10 @@ def get_crossref_test(): # This is PRL url = 'https://api.crossref.org/journals/0031-9007/works' - cursor = 'AoJ4wfD37eACPxBodHRwOi8vZHguZG9pLm9yZy8xMC4xMTAzL3BoeXNyZXZsZXR0LjkwLjAzNTUwNA==' + # cursor = 'AoJ4wfD37eACPxBodHRwOi8vZHguZG9pLm9yZy8xMC4xMTAzL3BoeXNyZXZsZXR0LjkwLjAzNTUwNA==' # If the loop is allowed to complete, it fetches (rows * batches) records - rows = 1000 + rows = 100 batches = 100 for i in range(0,batches): -- GitLab