-
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
How to download a file with original name or content-disposition ? #85
Comments
Hello Baltazar500, The string to enter for Related (duplicate?) issue: #38. |
@Reino17, Thanks. It works. But only for single expressions. When using follow page by page I get error after file download
When using "download" after following to the next page
file is not downloaded and I get an error |
That's because, as the error-message mentions, there's no context item. You didn't provide input (a file or an url). |
If the download name is a directory, it uses the name from the URL. So you can do And the last option is better not a |
When using a 'very-long-expression' as an extraction (-e), I get links from each following page. When using follow (and download) it ends on the first page :(
This works like expression
|
Try it with some input
|
@benibela, Sorry, the site I'm extracting data from has stopped working. After he resumes work, I will check this trick. Thanks :) |
My problem was solved by using a loop "[ -f xxx ]"
|
How to download file with original name or content-disposition using xidel without curl/wget ? The "--download=" switch allows you to save the file only with the specified file name :(
The text was updated successfully, but these errors were encountered: