Hi again folks.
For anyone having similar issues, I managed to address most issues using curl and forcing HTTP version 1.0.
I also fixed some bug I had in my API query parameters (the `start` parameter for `measurements/{pk}/results` has the same effect as the `start_time__lt` for `measurements/` queries). The updated script is here, maybe it can be useful to others too:
I'm trying to download the RIPE Atlas traceroutes for a day that is older than one month.
Given that the FTP repository publishes only results from the last month, I need to use the API.
So, what I'm doing is to list of measurement IDs for a given data and then for each ID I do a GET for the results of that ID.
The code is here:
However, often some downloads time out and when I'm trying to resume it using the Range header it seems that the API doesn't support it and the download starts over until it fails again halfway through the download.
Is there a better way to do such bulk downloads? Or at least to resume failed downloads?
Thanks!
-----
To unsubscribe from this mailing list or change your subscription options, please visit: https://mailman.ripe.net/mailman3/lists/ripe-atlas.ripe.net/
As we have migrated to Mailman 3, you will need to create an account with the email matching your subscription before you can change your settings.
More details at: https://www.ripe.net/membership/mail/mailman-3-migration/