-
Notifications
You must be signed in to change notification settings - Fork 42
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
xidel, xquery, tuple & download ? #113
Comments
Your
Here the input is a proper JSON array with a working example url.
This downloads and saves the image as 'xidel-windows-blue.png' to the current dir.
This downloads and saves the image as 'xidel_screenshot.png' to the current dir.
No, because obviously there's
@benibela At first I wanted to use one of the urls on https://nightly.link/benibela/xidel/workflows/main/master as an example url, but none of them seem to work. |
or file:write-text if it is all text
They are deleted after three months :/ |
Reino17, thanks for the examples, it works (issue completed). There is a problem with downloading files though. Small files are loaded and saved quickly, but large ones are loaded into RAM (?) and saved after being fully loaded. Is it possible to write them directly to disk? Or is this a question for benibela? Maybe I should open a new issue?
Where can I find nightly builds now :) ? |
it always does that
i just need to change something, so new ones are made |
Can this be changed? For files of hundreds of megabytes or several gigabytes this will be a problem :( |
possibly, but not so soon. and to run xpath on the file, it needs to have it in memory anyways and you can save it multiple times, |
@Baltazar500, you can always use I'll take my own domain as an example. The last 4 xidel releases on https://rwijnsma.home.xs4all.nl/files/xidel/ to be exact.
Let
And if it looks right, use In this case all the files will obviously be downloaded with the remote filename. If you want full control on the filename, then you can use
|
But what if I need to download only one large file ? @Reino17, Thank you for the examples, but I have previously used similar expressions with curl and xidel myself, which is why I mentioned earlier that I want to avoid external utilities :) |
Hi.
How to use xidel within an xquery request to use elements (or variables) of an array (tuple) as a name and link to download a file without using external utilities like curl ? "x:download" because xidel does not support :(
How to use "array[1]" for url to download and "array[2]' for filename ?
How to use separate variables as a url and filename to download ?
The text was updated successfully, but these errors were encountered: