initial stage
This commit is contained in:
parent
21f89da1ed
commit
541581c8b2
|
@ -80,7 +80,7 @@ def harvest():
|
|||
print(item["index"]["error"])
|
||||
failed = failed + 1
|
||||
headers = {'Accept': 'application/json'}
|
||||
r = requests.get('https://data.europa.eu/api/hub/search/search?filter=dataset&aggregation=false&limit=250&showScore=true&scroll=true', headers=headers).json()
|
||||
r = requests.get('https://data.europa.eu/api/hub/search/search?filter=dataset&aggregation=false&limit=300&showScore=true&scroll=true', headers=headers).json()
|
||||
scroll_id = r['result']['scrollId']
|
||||
results = r['result']['results']
|
||||
store_results(results)
|
||||
|
|
Loading…
Reference in New Issue