[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Filename should end with the first '?' character
From: |
Michael |
Subject: |
Re: [Bug-wget] Filename should end with the first '?' character |
Date: |
Mon, 12 Nov 2018 19:05:45 +0200 |
Hi Tim and all,
Thank you for your reply.
The `--cut-file-get-vars' works fine. This should be the default behavior, or
people from around the world will curse us for wasting several hours of their
time on that.
I did not notice effect of `--cut-url-get-vars` effect.
Which brings me to my first 'assignment':
"Be aware that this may have unintended side effects, for example
"image.php?name=sun" will be changed
to "image.php". The cutting happens before adding the URL to the
download queue."
In the case that "GET image.php?name=sun" return type image/jpeg, the result
should be downloaded as image_sun.jpg and the proper reference to it should be
made in the html code.
My initial approach to the wget project was to avoid creating directory to
every directory GET in WordPress. When the content type returned is html, A
filename directory.html should be created and proper reference should be in the
html menu code.
What do you think?
Michael